diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-08 04:05:59 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-08 04:05:59 +0000 |
commit | cc1063092b366a0a8449528ab6bf67a72f5ce027 (patch) | |
tree | d917d4df04b12c75f92a7bb4936d05fe3119fac7 /ChangeLog | |
parent | 2aa57843f25f4ec73a46744feb7329228623aa2d (diff) | |
download | ruby-cc1063092b366a0a8449528ab6bf67a72f5ce027.tar.gz |
vm.c: add RubyVM.stat for accessing cache serials
* vm.c (ruby_vm_stat): add RubyVM.stat() for access to internal cache
counters. this methods behaves like GC.stat, accepting an optional
hash or symbol argument. [Bug #9190] [ruby-core:58750]
* test/ruby/test_rubyvm.rb: test for new method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sun Dec 8 13:01:11 2013 Aman Gupta <ruby@tmm1.net> + + * vm.c (ruby_vm_stat): add RubyVM.stat() for access to internal cache + counters. this methods behaves like GC.stat, accepting an optional + hash or symbol argument. [Bug #9190] [ruby-core:58750] + * test/ruby/test_rubyvm.rb: test for new method + Sun Dec 8 11:59:40 2013 Aman Gupta <ruby@tmm1.net> * hash.c (rb_hash_replace): add a write barrier to fix GC mark miss on |