[ruby-cvs:54614] ko1:r47466 (trunk): * gc.c: add rb_objspace_t::flags::gc_stressfull and

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Sep 9 13:56:56 JST 2014


ko1	2014-09-09 13:56:55 +0900 (Tue, 09 Sep 2014)

  New Revision: 47466

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

  Log:
    * gc.c: add rb_objspace_t::flags::gc_stressfull and
      ruby_gc_stressfull macro.
      Rename objspace->gc_stress to objspace->gc_stress_mode.
      If objspace->gc_stress_mode is true (!nil and !false) then
      ruby_gc_stressfull becomes TRUE.
      ruby_gc_stressfull will speedup newobj_of() slightly.
    * gc.c: initialize ruby_gc_stress(full|_mode) by gc_params.gc_stress
      even if ENABLE_VM_OBJSPACE is false.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c


More information about the ruby-cvs mailing list