summaryrefslogtreecommitdiff
path: root/debug_counter.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-14 10:49:07 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-14 11:57:46 +0900
commita8aa169b8f1f89660037c874e8fc2feaf596a43a (patch)
treeb5755d4e288cf400575a35626ef1f0fab17562fc /debug_counter.h
parent967040ba59799e6b7891168ffbf37cc646988d84 (diff)
add cc_invalidate_negative debug counter
counts for invalidating negative cache.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3892
Diffstat (limited to 'debug_counter.h')
-rw-r--r--debug_counter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug_counter.h b/debug_counter.h
index 752a3de02b..5153f73a6a 100644
--- a/debug_counter.h
+++ b/debug_counter.h
@@ -45,6 +45,7 @@ RB_DEBUG_COUNTER(cc_invalidate_leaf_callable) // complime
RB_DEBUG_COUNTER(cc_invalidate_tree) // count for invalidating klass if klass has sublcasses
RB_DEBUG_COUNTER(cc_invalidate_tree_cme) // cme if cme is found in this class or superclasses
RB_DEBUG_COUNTER(cc_invalidate_tree_callable) // complimented cache (subclasses)
+RB_DEBUG_COUNTER(cc_invalidate_negative) // count for invalidating negative cache
RB_DEBUG_COUNTER(ccs_free) // count for free'ing ccs
RB_DEBUG_COUNTER(ccs_maxlen) // maximum length of ccs