summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-02-14 15:50:45 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-02-21 08:05:31 -0500
commitd7c1ca48bf7754a23bfe1559422736029b4787a0 (patch)
tree04095b19334ea76e60f6e697761aac0878b3c9cb /debug_counter.h
parentd2520b7b76759118071a16e6bca22726a5de9fb4 (diff)
downloadruby-d7c1ca48bf7754a23bfe1559422736029b4787a0.tar.gz
Refactor to separate marking and sweeping phases
This commit separates the marking and sweeping phases so that marking functions do not directly call sweeping functions.
Diffstat (limited to 'debug_counter.h')
-rw-r--r--debug_counter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/debug_counter.h b/debug_counter.h
index ad7b8dde4b..f1208d83a8 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -178,8 +178,7 @@ RB_DEBUG_COUNTER(gc_major_force)
RB_DEBUG_COUNTER(gc_major_oldmalloc)
RB_DEBUG_COUNTER(gc_enter_start)
-RB_DEBUG_COUNTER(gc_enter_mark_continue)
-RB_DEBUG_COUNTER(gc_enter_sweep_continue)
+RB_DEBUG_COUNTER(gc_enter_continue)
RB_DEBUG_COUNTER(gc_enter_rest)
RB_DEBUG_COUNTER(gc_enter_finalizer)