[ruby-cvs:55921] ko1:r48771 (trunk): * class.c (class_alloc): Strat from age == 2.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Dec 11 19:15:32 JST 2014


ko1	2014-12-11 19:15:30 +0900 (Thu, 11 Dec 2014)

  New Revision: 48771

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

  Log:
    * class.c (class_alloc): Strat from age == 2.
      Class and Module objects can be living long life.
    * iseq.c: Same for ISeq objects.
    * gc.c (RVALUE_AGE_RESET): added.
    * gc.c (newobj_of): allow to generate (age != 0) objects.
    * gc.c (rb_copy_wb_protected_attribute): reset age for wb unprotected
      objects.
    * include/ruby/ruby.h: add RUBY_TYPED_PROMOTED1 as an unrecommended
      flag.

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/gc.c
    trunk/include/ruby/ruby.h
    trunk/iseq.c


More information about the ruby-cvs mailing list