diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-05-09 23:29:00 +0100 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-05-09 23:29:00 +0100 |
commit | 0d1f7584ba25e7289871b5503f010874bc2aef49 (patch) | |
tree | 9cb05b3b5d06807a9050e157b62a2bf49daadefc /activesupport/lib/active_support/testing/performance/ruby/yarv.rb | |
parent | a43f95d235190139159dab3cf4863252b0e9bf0e (diff) | |
download | rails-0d1f7584ba25e7289871b5503f010874bc2aef49.tar.gz rails-0d1f7584ba25e7289871b5503f010874bc2aef49.tar.bz2 rails-0d1f7584ba25e7289871b5503f010874bc2aef49.zip |
contemplate unsupported metrics
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/ruby/yarv.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/performance/ruby/yarv.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/performance/ruby/yarv.rb b/activesupport/lib/active_support/testing/performance/ruby/yarv.rb index 498bc6b4db..62095a8fe4 100644 --- a/activesupport/lib/active_support/testing/performance/ruby/yarv.rb +++ b/activesupport/lib/active_support/testing/performance/ruby/yarv.rb @@ -17,7 +17,7 @@ module ActiveSupport end class Memory < DigitalInformationUnit - # Ruby 1.9 + GCdata patch + # Ruby 1.9 + GCdata patch if GC.respond_to?(:malloc_allocated_size) def measure GC.malloc_allocated_size |