void set_rate(float rate, TRAPS) { MethodCounters* mcs = get_method_counters(CHECK); if (mcs != NULL) { mcs->set_rate(rate); } }
void set_rate(float rate) { MethodCounters* mcs = method_counters(); if (mcs != NULL) { mcs->set_rate(rate); } }