Lines Matching refs:lock
367 assert(lock() != NULL, "null lock");
403 _queue = SynchronizedGCTaskQueue::create(unsynchronized_queue, lock());
600 // Notify with the lock held to avoid missed notifies.
616 // Notify with the lock held to avoid missed notifies.
634 // Grab the queue lock.
654 // We've reacquired the queue lock here.
739 assert(queue()->own_lock(), "don't own the lock");
745 assert(queue()->own_lock(), "don't own the lock");
759 // This can be done without a lock because each thread reads one element.
764 // This can be done without a lock because each thread writes one element.
916 // whose constructor would grab the lock and come to the barrier,
917 // and whose destructor would release the lock,
919 MutexLockerEx ml(manager->lock(), Mutex::_no_safepoint_check_flag);
921 // Release manager->lock().
926 assert(manager->monitor()->owned_by_self(), "don't own the lock");
947 MutexLockerEx ml(manager->lock(), Mutex::_no_safepoint_check_flag);
950 // Release manager->lock().
963 MutexLockerEx ml(manager->lock(), Mutex::_no_safepoint_check_flag);
969 // Release manager->lock().
1047 MutexLockerEx ml(manager->lock(), Mutex::_no_safepoint_check_flag);
1049 // Release manager->lock().
1076 // Grab the lock and check again.
1107 if (lock() == NULL) {
1113 MutexLockerEx ml(lock());
1129 // release lock().
1138 MutexLockerEx ml(lock());
1140 // release lock().