Lines Matching refs:NamedCounter
1234 NamedCounter * volatile OptoRuntime::_named_counters = NULL;
1243 NamedCounter* c = _named_counters;
1245 if (c->tag() == NamedCounter::LockCounter || c->tag() == NamedCounter::EliminatedLockCounter) {
1248 bool eliminated = c->tag() == NamedCounter::EliminatedLockCounter;
1257 } else if (c->tag() == NamedCounter::BiasedLockingCounter) {
1276 // Allocate a new NamedCounter. The JVMState is used to generate the
1280 NamedCounter* OptoRuntime::new_named_counter(JVMState* youngest_jvms, NamedCounter::CounterTag tag) {
1299 NamedCounter* c;
1300 if (tag == NamedCounter::BiasedLockingCounter) {
1303 c = new NamedCounter(strdup(st.as_string()), tag);
1308 NamedCounter* head;