Searched refs:Heap_lock (Results 1 - 25 of 35) sorted by relevance

12

/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegionSets.cpp70 // list should be invoked while holding the Heap_lock.
78 guarantee(Heap_lock->owned_by_self(),
124 // should be invoked while holding the Heap_lock.
133 guarantee(Heap_lock->owned_by_self(),
161 // humongous set should be invoked while holding the Heap_lock.
169 guarantee(Heap_lock->owned_by_self(),
H A Dvm_operations_g1.cpp249 Heap_lock->lock();
258 Heap_lock->unlock();
H A Dg1CollectedHeap.hpp429 err_msg("%s : Heap_lock locked: %s, at safepoint: %s, is VM thread: %s", \
431 BOOL_TO_STR(Heap_lock->owned_by_self()), \
437 assert(Heap_lock->owned_by_self(), \
438 heap_locking_asserts_err_msg("should be holding the Heap_lock")); \
443 assert(Heap_lock->owned_by_self() || \
446 heap_locking_asserts_err_msg("should be holding the Heap_lock or " \
452 assert(Heap_lock->owned_by_self() && \
454 heap_locking_asserts_err_msg("should be holding the Heap_lock and " \
460 assert(!Heap_lock->owned_by_self(), \
461 heap_locking_asserts_err_msg("should not be holding the Heap_lock")); \
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DpermGen.hpp51 assert_locked_or_safepoint(Heap_lock);
H A DpermGen.cpp60 MutexLocker ml(Heap_lock);
84 MutexUnlocker mul(Heap_lock);
96 // Read the GC count while holding the Heap_lock
H A DgenCollectedHeap.cpp457 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");
[all...]
H A DsharedHeap.cpp91 return Heap_lock->owned_by_self()
H A DcollectorPolicy.cpp569 unsigned int gc_count_before; // read inside the Heap_lock locked region
571 MutexLocker ml(Heap_lock);
607 MutexUnlocker mul(Heap_lock);
H A DheapInspection.cpp353 assert(Heap_lock->is_locked(), "should have the Heap_lock");
H A DdefNewGeneration.cpp503 Heap_lock->is_locked() ? "locked" : "unlocked",
507 if (Heap_lock->owned_by_self() ||
510 // If the Heap_lock is not locked by this thread, this will be called
511 // again later with the Heap_lock held.
514 gclog_or_tty->print_cr(" Heap_lock is not owned by self");
H A Dgeneration.cpp414 assert_locked_or_safepoint(Heap_lock);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DvmGCOperations.cpp107 // Get the Heap_lock after the pending_list_lock.
108 Heap_lock->lock();
113 Heap_lock->unlock();
127 // Release the Heap_lock first.
130 Heap_lock->unlock();
H A DconcurrentGCThread.cpp227 assert(!Heap_lock->owned_by_self(), "Heap_lock owned by requesting thread");
H A DmutableSpace.cpp175 assert(Heap_lock->owned_by_self() ||
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DvmCMSOperations.cpp106 // Get the Heap_lock after the pending_list_lock.
107 Heap_lock->lock();
110 Heap_lock->unlock();
126 // Release the Heap_lock first.
127 Heap_lock->unlock();
273 // Release the Heap_lock first.
274 Heap_lock->unlock();
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPermGen.cpp48 assert_locked_or_safepoint(Heap_lock);
H A DparallelScavengeHeap.cpp402 assert(!Heap_lock->owned_by_self(), "this thread should not own the Heap_lock");
421 // contention case where thread A blocks waiting on the Heap_lock, while
427 MutexLocker ml(Heap_lock);
451 MutexUnlocker mul(Heap_lock);
573 assert(!Heap_lock->owned_by_self(), "this thread should not own the Heap_lock");
621 assert(!Heap_lock->owned_by_self(), "this thread should not own the Heap_lock");
636 // contention case where thread A blocks waiting on the Heap_lock, whil
[all...]
H A DpsOldGen.cpp186 assert_locked_or_safepoint(Heap_lock);
262 assert_locked_or_safepoint(Heap_lock);
302 assert_locked_or_safepoint(Heap_lock);
315 assert_locked_or_safepoint(Heap_lock);
H A DpsOldGen.hpp65 assert_locked_or_safepoint(Heap_lock);
H A DadjoiningGenerations.cpp126 assert_locked_or_safepoint(Heap_lock);
H A DasPSYoungGen.cpp531 assert_locked_or_safepoint(Heap_lock);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvm_operations.cpp203 // Get Heap_lock if concurrent locks will be dumped
205 Heap_lock->lock();
216 // Release Heap_lock
217 Heap_lock->unlock();
303 // Acquire Heap_lock to dump concurrent locks
304 Heap_lock->lock();
312 // Release Heap_lock
313 Heap_lock->unlock();
H A DmutexLocker.cpp65 Monitor* Heap_lock = NULL; variable
262 def(Heap_lock , Monitor, nonleaf+1, false);
H A DmutexLocker.hpp59 extern Monitor* Heap_lock; // a lock on the heap
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiTagMap.cpp1488 MutexLocker ml(Heap_lock);
1505 MutexLocker ml(Heap_lock);
3288 MutexLocker ml(Heap_lock);
3301 MutexLocker ml(Heap_lock);
3317 MutexLocker ml(Heap_lock);

Completed in 135 milliseconds

12