--- a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp Thu Aug 22 18:54:56 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp Thu Aug 22 20:22:29 2019 +0200
@@ -363,7 +363,7 @@
}
}
-void ShenandoahAsserts::assert_locked_or_shenandoah_safepoint(const Monitor* lock, const char* file, int line) {
+void ShenandoahAsserts::assert_locked_or_shenandoah_safepoint(const Mutex* lock, const char* file, int line) {
if (ShenandoahSafepoint::is_at_shenandoah_safepoint()) {
return;
}
--- a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp Thu Aug 22 18:54:56 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp Thu Aug 22 20:22:29 2019 +0200
@@ -66,7 +66,7 @@
static void assert_rp_isalive_not_installed(const char *file, int line);
static void assert_rp_isalive_installed(const char *file, int line);
- static void assert_locked_or_shenandoah_safepoint(const Monitor* lock, const char*file, int line);
+ static void assert_locked_or_shenandoah_safepoint(const Mutex* lock, const char*file, int line);
#ifdef ASSERT
#define shenandoah_assert_in_heap(interior_loc, obj) \