diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 16:34:25 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-13 16:34:25 +0000 |
commit | 7d0a90e9b494dd0897e4a5a3b5d219b9c9c891e8 (patch) | |
tree | 98a2c0d0e4dfeff39b07b241658ca8142958501c /ChangeLog | |
parent | e23941ff35277f3043f4de355ea2b10a8d1c6fe5 (diff) | |
download | ruby-7d0a90e9b494dd0897e4a5a3b5d219b9c9c891e8.tar.gz |
* gc.c: refactoring GC::Profiler.
* gc.c (gc_prof_sweep_timer_start/stop): removed because
they doesn't support lazy sweep.
* gc.c (gc_prof_sweep_slot_timer_start/stop): added.
redefine `sweeping time' to accumulated time of all of
slot_sweep().
* gc.c (rb_objspace_t::profile::count): renamed to
rb_objspace_t::profile::next_index. `counter' seems ambiguous.
increment it when next record is acquired.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,18 @@ +Tue May 14 01:25:55 2013 Koichi Sasada <ko1@atdot.net> + + * gc.c: refactoring GC::Profiler. + + * gc.c (gc_prof_sweep_timer_start/stop): removed because + they doesn't support lazy sweep. + + * gc.c (gc_prof_sweep_slot_timer_start/stop): added. + redefine `sweeping time' to accumulated time of all of + slot_sweep(). + + * gc.c (rb_objspace_t::profile::count): renamed to + rb_objspace_t::profile::next_index. `counter' seems ambiguous. + increment it when next record is acquired. + Tue May 14 00:48:55 2013 Koichi Sasada <ko1@atdot.net> * include/ruby/ruby.h: constify RRational::(num,den) and |