summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-14 18:17:35 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-14 18:17:35 +0900
commitc37ba2c5478c8fa81f3cb26d7ddb9b79d681147d (patch)
tree57b5d8dfedde0e395e48c9a3bc1327a0404f9b2a /vm_method.c
parentda3be76cb017c188d1a99d8aa14d13c15d93f9d1 (diff)
add ccs_not_found debug counter
ccs_not_found to count not found in ccs table.
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c
index 87827db5aa..e526ee0130 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1072,6 +1072,8 @@ cached_callable_method_entry(VALUE klass, ID mid)
rb_id_table_delete(cc_tbl, mid);
}
}
+
+ RB_DEBUG_COUNTER_INC(ccs_not_found);
return NULL;
}