diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-12-14 18:17:35 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-12-14 18:17:35 +0900 |
commit | c37ba2c5478c8fa81f3cb26d7ddb9b79d681147d (patch) | |
tree | 57b5d8dfedde0e395e48c9a3bc1327a0404f9b2a /vm_method.c | |
parent | da3be76cb017c188d1a99d8aa14d13c15d93f9d1 (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.c | 2 |
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; } |