Lines Matching defs:lock
226 static SynchronizedGCTaskQueue* create(GCTaskQueue* queue, Monitor * lock) {
227 return new SynchronizedGCTaskQueue(queue, lock);
238 Monitor * lock() const {
242 // These check that you hold the lock
245 guarantee(own_lock(), "don't own the lock");
249 guarantee(own_lock(), "don't own the lock");
253 guarantee(own_lock(), "don't own the lock");
257 guarantee(own_lock(), "don't own the lock");
261 guarantee(own_lock(), "don't own the lock");
265 guarantee(own_lock(), "don't own the lock");
270 return lock()->owned_by_self();
274 SynchronizedGCTaskQueue(GCTaskQueue* queue, Monitor * lock);
409 Monitor * lock() const {
778 static Mutex* lock() {