[ruby-cvs:54085] ko1:r46939 (trunk): * gc.c: change objspace::rgengc::parent_object_is_old (boolean)

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Jul 25 14:12:07 JST 2014


ko1	2014-07-25 14:12:06 +0900 (Fri, 25 Jul 2014)

  New Revision: 46939

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

  Log:
    * gc.c: change objspace::rgengc::parent_object_is_old (boolean)
      to objspace::rgengc::parent_object (VALUE).
      Use Qfalse or RVALUE pointer instead of FALSE and TRUE.
    * gc.c (gc_marks_body): should clear parent_object just before
      gc_mark_roots() because there are no parents objects
      for root objects.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list