[ruby-cvs:50405] ko1:r43263 (trunk): * class.c, variable.c, gc.c (rb_class_tbl): removed.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Sat Oct 12 03:27:19 JST 2013


ko1	2013-10-12 03:27:18 +0900 (Sat, 12 Oct 2013)

  New Revision: 43263

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

  Log:
    * class.c, variable.c, gc.c (rb_class_tbl): removed.
    * vm.c, vm_core.h (rb_vm_add_root_module): added to register as a
      defined root module or class.
      This guard helps mark miss from defined classes/modules they are
      only refered from C's global variables in C-exts.
      Basically, it is extension's bug.
      Register to hash object VM has.
      Marking a hash objects allows generational GC supports.
    * gc.c (RGENGC_PRINT_TICK): disable (revert).

  Modified files:
    trunk/ChangeLog
    trunk/class.c
    trunk/gc.c
    trunk/variable.c
    trunk/vm.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list