1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (garbage_collect): remove a duplicative probe.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nari 2012-11-21 13:31:06 +00:00
parent fe9fc6df01
commit 7d0cabb8f8
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Wed Nov 21 22:27:52 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c (garbage_collect): remove a duplicative probe.
Wed Nov 21 22:08:48 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c (gc_profile_clear): realloc profile records if its size is

3
gc.c
View file

@ -3018,9 +3018,6 @@ garbage_collect(rb_objspace_t *objspace)
during_gc++;
gc_marks(objspace);
if (RUBY_DTRACE_GC_SWEEP_BEGIN_ENABLED()) {
RUBY_DTRACE_GC_SWEEP_BEGIN();
}
gc_prof_sweep_timer_start(objspace);
gc_sweep(objspace);
gc_prof_sweep_timer_stop(objspace);