[ruby-cvs:51136] tmm1:r43991 (trunk): gc.c: Load GC tuning settings earlier during boot.

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Thu Dec 5 09:19:15 JST 2013


tmm1	2013-12-05 09:19:13 +0900 (Thu, 05 Dec 2013)

  New Revision: 43991

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

  Log:
    gc.c: Load GC tuning settings earlier during boot.
    
    * gc.c (ruby_gc_set_params): Accept safe_level argument so GC tuning
      settings can be applied before rb_safe_level() is available.
    * internal.h (rb_gc_set_params): ditto.
    * ruby.c (process_options): Apply GC tuning early during boot process
      so boot-time allocations can benefit. This also benefits any code
      loaded in via `ruby -r`.

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
    trunk/internal.h
    trunk/ruby.c


More information about the ruby-cvs mailing list