--- a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp Tue Aug 27 16:17:40 2019 +0530
+++ b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp Tue Aug 27 17:02:38 2019 +0200
@@ -363,7 +363,7 @@
}
}
-void ShenandoahAsserts::assert_locked_or_shenandoah_safepoint(const Mutex* lock, const char* file, int line) {
+void ShenandoahAsserts::assert_locked_or_shenandoah_safepoint(Mutex* lock, const char* file, int line) {
if (ShenandoahSafepoint::is_at_shenandoah_safepoint()) {
return;
}
--- a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp Tue Aug 27 16:17:40 2019 +0530
+++ b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp Tue Aug 27 17:02:38 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 Mutex* lock, const char*file, int line);
+ static void assert_locked_or_shenandoah_safepoint(Mutex* lock, const char* file, int line);
#ifdef ASSERT
#define shenandoah_assert_in_heap(interior_loc, obj) \