[ruby-cvs:53980] ko1:r46834 (trunk): * vm_core.h: remove rb_vm_t::trap_list[RUBY_NSIG], but add

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Jul 16 18:39:09 JST 2014


ko1	2014-07-16 18:39:09 +0900 (Wed, 16 Jul 2014)

  New Revision: 46834

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

  Log:
    * vm_core.h: remove rb_vm_t::trap_list[RUBY_NSIG], but add
      rb_vm_t::trap_list_cmds (an array) and
      rb_vm_t::trap_list_safes[RUBY_NSIG]
      (separate to two different array).
      This modification reduce root objects.
    * signal.c: ditto.
    * vm.c (rb_vm_mark): remove marking code for rb_vm_t::trap_list.

  Modified files:
    trunk/ChangeLog
    trunk/signal.c
    trunk/vm.c
    trunk/vm_core.h


More information about the ruby-cvs mailing list