add ccs_not_found debug counter
ccs_not_found to count not found in ccs table.
This commit is contained in:
parent
da3be76cb0
commit
c37ba2c547
@ -54,7 +54,8 @@ RB_DEBUG_COUNTER(cc_invalidate_negative) // count for invalidating negative
|
|||||||
|
|
||||||
RB_DEBUG_COUNTER(ccs_free) // count for free'ing ccs
|
RB_DEBUG_COUNTER(ccs_free) // count for free'ing ccs
|
||||||
RB_DEBUG_COUNTER(ccs_maxlen) // maximum length of ccs
|
RB_DEBUG_COUNTER(ccs_maxlen) // maximum length of ccs
|
||||||
RB_DEBUG_COUNTER(ccs_found) // count for finding corresponding ccs on method lookup
|
RB_DEBUG_COUNTER(ccs_found) // count for finding corresponding ccs on method lookup
|
||||||
|
RB_DEBUG_COUNTER(ccs_not_found) // count for not found corresponding ccs on method lookup
|
||||||
|
|
||||||
// iseq
|
// iseq
|
||||||
RB_DEBUG_COUNTER(iseq_num) // number of total created iseq
|
RB_DEBUG_COUNTER(iseq_num) // number of total created iseq
|
||||||
|
@ -1072,6 +1072,8 @@ cached_callable_method_entry(VALUE klass, ID mid)
|
|||||||
rb_id_table_delete(cc_tbl, mid);
|
rb_id_table_delete(cc_tbl, mid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RB_DEBUG_COUNTER_INC(ccs_not_found);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user