[ruby-cvs:50443] ko1:r43301 (trunk): * ext/objspace/objspace.c: add a new method `reachable_objects_from_root'.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Oct 16 15:13:42 JST 2013


ko1	2013-10-16 15:13:41 +0900 (Wed, 16 Oct 2013)

  New Revision: 43301

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

  Log:
    * ext/objspace/objspace.c: add a new method `reachable_objects_from_root'.
      ObjectSpace.reachable_objects_from_root returns all objects refered
      from root (called "root objects").
      This feature is for deep object analysis.
    * test/objspace/test_objspace.rb: add a test.

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/objspace.c
    trunk/test/objspace/test_objspace.rb


More information about the ruby-cvs mailing list