Lines Matching refs:Heap_lock
457 assert(Heap_lock->is_locked(),
458 "the requesting thread should have the Heap_lock");
800 // The caller doesn't have the Heap_lock
801 assert(!Heap_lock->owned_by_self(), "this thread should not own the Heap_lock");
802 MutexLocker ml(Heap_lock);
812 assert(Heap_lock->is_locked(), "Precondition#2");
828 // The caller has the Heap_lock
829 assert(Heap_lock->owned_by_self(), "this thread should own the Heap_lock");
834 // The Heap_lock is expected to be held on entry.
840 // Read the GC count while holding the Heap_lock
844 MutexUnlocker mu(Heap_lock); // give up heap lock, execute gets it back
877 assert(!Heap_lock->owned_by_self(), "Should not own Heap_lock");
879 MutexLocker ml(Heap_lock);
880 // Read the GC counts while holding the Heap_lock
884 MutexUnlocker mu(Heap_lock);