summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-03-15 00:24:15 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2020-03-15 00:24:18 -0700
commitf6a54e6e461e3689d0d9068d33f986ce2d458bef (patch)
tree1fb95131be1dfebdf4cc0be89bd8ea5eef1be454 /debug_counter.h
parent67fbc122fb71fab9b148faedfb2159ad38d965ac (diff)
Add debug counter for unload_units
changing add_iseq_to_process's debug counter name as well for comparison
Diffstat (limited to 'debug_counter.h')
-rw-r--r--debug_counter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/debug_counter.h b/debug_counter.h
index e38b5c6b79..687179e40e 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -311,11 +311,14 @@ RB_DEBUG_COUNTER(theap_evacuate)
/* mjit_exec() counts */
RB_DEBUG_COUNTER(mjit_exec)
RB_DEBUG_COUNTER(mjit_exec_not_added)
-RB_DEBUG_COUNTER(mjit_exec_not_added_add_iseq)
RB_DEBUG_COUNTER(mjit_exec_not_ready)
RB_DEBUG_COUNTER(mjit_exec_not_compiled)
RB_DEBUG_COUNTER(mjit_exec_call_func)
+/* MJIT enqueue / unload */
+RB_DEBUG_COUNTER(mjit_add_iseq_to_process)
+RB_DEBUG_COUNTER(mjit_unload_units)
+
/* MJIT <-> VM frame push counts */
RB_DEBUG_COUNTER(mjit_frame_VM2VM)
RB_DEBUG_COUNTER(mjit_frame_VM2JT)