Lines Matching defs:monitor
153 // Zero the new monitor so the interpreter can find it.
225 BasicObjectLock *monitor;
226 monitor = NULL;
228 monitor = (BasicObjectLock*) istate->stack_base();
229 oop lockee = monitor->obj();
232 monitor->lock()->set_displaced_header(disp);
233 if (Atomic::cmpxchg_ptr(monitor, lockee->mark_addr(), disp) != disp) {
235 monitor->lock()->set_displaced_header(NULL);
238 CALL_VM_NOCHECK(InterpreterRuntime::monitorenter(thread, monitor));
375 if (monitor) {
376 BasicLock *lock = monitor->lock();
378 oop rcvr = monitor->obj();
379 monitor->set_obj(NULL);
383 monitor->set_obj(rcvr); {
385 CALL_VM_NOCHECK(InterpreterRuntime::monitorexit(thread, monitor));
719 BasicObjectLock *monitor =
726 monitor->set_obj(object);