Project

General

Profile

« Previous | Next » 

Revision 1b6aa03e

Added by ko1 (Koichi Sasada) over 10 years ago

  • 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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e