summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gc.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 90052b83c7..15c5dccdb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/gc.c b/gc.c
index 6906d03ee2..d8a74c4df5 100644
--- a/gc.c
+++ b/gc.c
@@ -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);