summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-17 17:03:05 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-17 17:03:05 +0900
commitc42948d78463d7e38f04070236985dcda895efd5 (patch)
treec392a19f3dbeca966492cc4eea829781bc45a8cb /debug_counter.h
parent92137718170118030a1f56303764d08201bf5c33 (diff)
add debug counters for gc start events
Diffstat (limited to 'debug_counter.h')
-rw-r--r--debug_counter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/debug_counter.h b/debug_counter.h
index 362c85e2f5..8acca2741d 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -174,6 +174,12 @@ RB_DEBUG_COUNTER(gc_major_shady)
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_rest)
+RB_DEBUG_COUNTER(gc_enter_finalizer)
+
RB_DEBUG_COUNTER(gc_isptr_trial)
RB_DEBUG_COUNTER(gc_isptr_range)
RB_DEBUG_COUNTER(gc_isptr_align)