[ruby-cvs:51119] tmm1:r43974 (trunk): * load.c (features_index_add_single): Move loaded_features_index array values off

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Tue Dec 3 17:13:32 JST 2013


tmm1	2013-12-03 17:13:31 +0900 (Tue, 03 Dec 2013)

  New Revision: 43974

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

  Log:
    * load.c (features_index_add_single): Move loaded_features_index array values off
      the ruby heap. [Bug #9201] [ruby-core:58805]
    * load.c (loaded_features_index_clear_i): Clean up off-heap array structure.
    * vm.c (rb_vm_mark): Remove unnecessary mark_tbl for loaded_features_index.
      This improves minor GC time by 15% in a large application.

  Modified files:
    trunk/ChangeLog
    trunk/load.c
    trunk/vm.c


More information about the ruby-cvs mailing list