--- a/src/hotspot/share/runtime/mutexLocker.hpp Tue Oct 16 13:43:04 2018 +0200
+++ b/src/hotspot/share/runtime/mutexLocker.hpp Tue Oct 16 13:14:18 2018 +0200
@@ -199,9 +199,11 @@
// 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