[ruby-cvs:54615] ko1:r47467 (trunk): * gc.c: move rb_objspace_t::flags::gc_stressfull after during_gc

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Sep 9 14:12:16 JST 2014


ko1	2014-09-09 14:12:15 +0900 (Tue, 09 Sep 2014)

  New Revision: 47467

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

  Log:
    * gc.c: move rb_objspace_t::flags::gc_stressfull after during_gc
      to make accesssing both parameters easy.
    * gc.c (heap_get_freeobj): add LIKELY() hint.
    * gc.c (heap_get_freeobj_from_next_freepage): ditto.
    * gc.c (newobj_of): check both parameters at once for exceptional
      case.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list