[ruby-cvs:51142] tmm1:r43997 (trunk): gc.c: split GC_END event into GC_END_MARK and GC_END_SWEEP

tmm1 at ruby-lang.org tmm1 at ruby-lang.org
Thu Dec 5 13:26:06 JST 2013


tmm1	2013-12-05 13:26:04 +0900 (Thu, 05 Dec 2013)

  New Revision: 43997

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

  Log:
    gc.c: split GC_END event into GC_END_MARK and GC_END_SWEEP
    
    * include/ruby/ruby.h: remove INTERNAL_EVENT_GC_END and replace with
      two new events: GC_END_MARK and GC_END_SWEEP
    * gc.c (gc_after_sweep): emit GC_END_SWEEP after lazy sweep is done
    * gc.c (gc_marks_body): emit GC_END_MARK at end of minor/major mark
    * ext/-test-/tracepoint/tracepoint.c (struct tracepoint_track): tests
      for new events.
    * test/-ext-/tracepoint/test_tracepoint.rb (class TestTracepointObj):
      ditto.
    * NEWS: remove ObjectSpace.after_gc_*_hook. These are only a sample,
      and will be removed before ruby 2.1.
    * ext/objspace/gc_hook.c: remove ObjectSpace.after_gc_end_hook=

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/ext/-test-/tracepoint/tracepoint.c
    trunk/ext/objspace/gc_hook.c
    trunk/gc.c
    trunk/include/ruby/ruby.h
    trunk/test/-ext-/tracepoint/test_tracepoint.rb


More information about the ruby-cvs mailing list