[ruby-cvs:51207] tmm1:r44062 (trunk): vm.c: add RubyVM.stat for accessing cache serials

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Sun Dec 8 13:06:03 JST 2013


tmm1	2013-12-08 13:05:59 +0900 (Sun, 08 Dec 2013)

  New Revision: 44062

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44062

  Log:
    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

  Added files:
    trunk/test/ruby/test_rubyvm.rb
  Modified files:
    trunk/ChangeLog
    trunk/vm.c


More information about the ruby-cvs mailing list