[ruby-cvs:62827] ko1:r55663 (trunk): * gc.c (gc_mark_roots): should mark the VM object itself to mark

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Jul 13 16:08:32 JST 2016


ko1	2016-07-13 16:08:32 +0900 (Wed, 13 Jul 2016)

  New Revision: 55663

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55663

  Log:
    * gc.c (gc_mark_roots): should mark the VM object itself to mark
      singleton class of the VM object.
      Before this patch, we only set mark bit for the VM object and
      invoke mark function separately.
      [Bug #12583]
    
    * test/ruby/test_gc.rb: add a test.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/test/ruby/test_gc.rb


More information about the ruby-cvs mailing list