diff options
author | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-28 07:40:35 +0000 |
---|---|---|
committer | tmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-28 07:40:35 +0000 |
commit | d7009f76ef8a7b96e73471561cf9c4863902e438 (patch) | |
tree | eced005e9132a64eb1d6c61c9dbe8bd8ef41e7f1 /ChangeLog | |
parent | 6de07f1fbe1e2819ac625c6b64069f54033b0164 (diff) | |
download | ruby-d7009f76ef8a7b96e73471561cf9c4863902e438.tar.gz |
* gc.c: Expose details about last garbage collection via GC.stat.
* gc.c (gc_stat): Add :last_collection_flags for reason/trigger/type of
last GC run.
* gc.c (gc_prof_sweep_timer_stop): Record HAVE_FINALIZE GPR even
without GC_PROFILE_MORE_DETAIL.
* gc.c (gc_profile_flags): Add GC::Profiler.decode_flags to make sense
of GC.stat[:last_collection_flags]
* test/ruby/test_gc.rb (class TestGc): Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Thu Nov 28 16:34:43 2013 Aman Gupta <ruby@tmm1.net> + + * gc.c: Expose details about last garbage collection via GC.stat. + * gc.c (gc_stat): Add :last_collection_flags for reason/trigger/type of + last GC run. + * gc.c (gc_prof_sweep_timer_stop): Record HAVE_FINALIZE GPR even + without GC_PROFILE_MORE_DETAIL. + * gc.c (gc_profile_flags): Add GC::Profiler.decode_flags to make sense + of GC.stat[:last_collection_flags] + * test/ruby/test_gc.rb (class TestGc): Test for above. + Thu Nov 28 16:15:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * win32/win32.c (rb_w32_dup2): extract from rb_cloexec_dup2() and |