< prev index next >

src/hotspot/share/runtime/mutexLocker.hpp

concurrent root iterator v3
 };
 
 // for debugging: check that we're already owning this lock (or are at a safepoint)
 #ifdef ASSERT
 void assert_locked_or_safepoint(const Monitor * lock);
+void assert_locked_or_safepoint_weak(const Monitor * lock);
 void assert_lock_strong(const Monitor * lock);
 #else
 #define assert_locked_or_safepoint(lock)
+#define assert_locked_or_safepoint_weak(lock)
 #define assert_lock_strong(lock)
 #endif
 
 // A MutexLockerEx behaves like a MutexLocker when its constructor is
 // called with a Mutex.  Unlike a MutexLocker, its constructor can also be
    
< prev index next >