diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 04:26:04 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-05 04:26:04 +0000 |
commit | 393b9e65e91036743609e0d5ed899072b0f2d0a8 (patch) | |
tree | 0d8d8c358b852e73e3f9dcd9eeefb057c4cd36bc /ChangeLog | |
parent | fb29aefc7abe3fe1b2c7794035a73f9ba50e8364 (diff) | |
download | ruby-393b9e65e91036743609e0d5ed899072b0f2d0a8.tar.gz |
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=
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,17 @@ +Thu Dec 5 13:19:03 2013 Aman Gupta <ruby@tmm1.net> + + * 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= + Thu Dec 5 10:47:56 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * ruby_atomic.h (ATOMIC_PTR_EXCHANGE): atomic exchange function for |