Searched refs:GC_locker (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/hotspot/src/share/vm/memory/
H A DgcLocker.inline.hpp30 inline void GC_locker::lock() {
39 inline void GC_locker::unlock() {
46 inline void GC_locker::lock_critical(JavaThread* thread) {
59 inline void GC_locker::unlock_critical(JavaThread* thread) {
H A DgcLocker.cpp30 volatile jint GC_locker::_jni_lock_count = 0;
31 volatile jint GC_locker::_lock_count = 0;
32 volatile bool GC_locker::_needs_gc = false;
33 volatile bool GC_locker::_doing_gc = false;
36 volatile jint GC_locker::_debug_jni_lock_count = 0;
41 void GC_locker::verify_critical_count() {
64 bool GC_locker::check_active_before_gc() {
79 void GC_locker::stall_until_clear() {
97 void GC_locker::jni_lock(JavaThread* thread) {
113 void GC_locker
[all...]
H A DpermGen.cpp75 if (GC_locker::is_active_and_needs_gc()) {
86 GC_locker::stall_until_clear();
H A DgcLocker.hpp52 class GC_locker: public AllStatic { class in inherits:AllStatic
57 // safepointing and decremented during the slow path of GC_locker
143 // If we find that we failed to perform a GC because the GC_locker
166 // GC_locker::is_active() is checked. Since there is no safepoint in
H A DcollectorPolicy.cpp586 if (GC_locker::is_active_and_needs_gc()) {
609 GC_locker::stall_until_clear();
687 if (GC_locker::is_active_and_needs_gc()) {
771 || GC_locker::is_active_and_needs_gc()
H A DdefNewGeneration.cpp335 if (GC_locker::is_active()) {
506 if (should_allocate_from_space() || GC_locker::is_active_and_needs_gc()) {
884 assert(!GC_locker::is_active(), "We should not be executing here");
H A Dgeneration.cpp440 if (success && GC_locker::is_active()) {
H A Duniverse.cpp760 GC_locker::lock(); // do not allow gc during bootstrapping
1199 GC_locker::unlock(); // allow gc after bootstrapping
H A DgenCollectedHeap.cpp462 if (GC_locker::check_active_before_gc()) {
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DvmPSOperations.cpp52 if (_result == NULL && GC_locker::is_active_and_needs_gc()) {
73 if (_result == NULL && GC_locker::is_active_and_needs_gc()) {
H A DparallelScavengeHeap.cpp442 if (GC_locker::is_active_and_needs_gc()) {
452 GC_locker::stall_until_clear();
545 if (!should_alloc_in_eden(size) || GC_locker::is_active_and_needs_gc()) {
652 if (GC_locker::is_active_and_needs_gc()) {
662 GC_locker::stall_until_clear();
H A DpsOldGen.cpp254 if (success && GC_locker::is_active_and_needs_gc()) {
H A DpsMarkSweep.cpp111 if (GC_locker::check_active_before_gc()) {
H A DpsScavenge.cpp277 if (GC_locker::check_active_before_gc()) {
H A DpsParallelCompact.cpp2038 if (GC_locker::check_active_before_gc()) {
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DvmGCOperations.cpp92 if (!skip && GC_locker::is_active_and_needs_gc()) {
95 "GC_locker cannot be active when initiating GC");
148 if (GC_locker::is_active()) {
158 // not happen (e.g. due to GC_locker)
187 if (_res == NULL && GC_locker::is_active_and_needs_gc()) {
224 if (_res == NULL && GC_locker::is_active_and_needs_gc()) {
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DvmCMSOperations.cpp230 (GC_locker::is_active() /* gc may have been skipped */
H A DconcurrentMarkSweepGeneration.cpp1670 // assert(!GC_locker.is_active(), "Can't be called otherwise");
1673 if (GC_locker::is_active()) {
1674 // A consistency test for GC_locker
1675 assert(GC_locker::needs_gc(), "Should have been set already");
/openjdk7/hotspot/src/share/vm/classfile/
H A DsymbolTable.cpp342 assert(!Universe::heap()->is_in_reserved(name) || GC_locker::is_active(),
695 assert(!Universe::heap()->is_in_reserved(name) || GC_locker::is_active(),
/openjdk7/hotspot/src/share/vm/runtime/
H A Dsafepoint.cpp393 GC_locker::set_jni_lock_count(_current_jni_active_count);
596 GC_locker::increment_debug_jni_lock_count();
H A DsharedRuntime.cpp2650 GC_locker::lock_critical(thread);
2651 GC_locker::unlock_critical(thread);
H A Dthread.hpp244 // Record when GC is locked out via the GC_locker mechanism
251 friend class GC_locker;
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1CollectedHeap.cpp949 if (GC_locker::is_active_and_needs_gc()) {
966 if (GC_locker::needs_gc()) {
996 GC_locker::stall_until_clear();
1072 if (GC_locker::is_active_and_needs_gc()) {
1080 if (GC_locker::needs_gc()) {
1114 GC_locker::stall_until_clear();
1284 if (GC_locker::check_active_before_gc()) {
2617 if (GC_locker::is_active_and_needs_gc()) {
2618 GC_locker::stall_until_clear();
3814 if (GC_locker
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Djni.cpp4240 GC_locker::lock_critical(thread);
4272 GC_locker::unlock_critical(thread);
4290 GC_locker::lock_critical(thread);
4323 GC_locker::unlock_critical(thread);
/openjdk7/hotspot/src/share/vm/services/
H A DheapDumper.cpp1712 // not happen (e.g. due to GC_locker)
1715 if (GC_locker::is_active()) {

Completed in 242 milliseconds

12