8230215: MacOS debug build is broken after JDK-8230003
authorshade
Tue, 27 Aug 2019 17:02:38 +0200
changeset 57889 e6d7c5fbf09d
parent 57888 41b68dc5e0b9
child 57890 6bb824c45df1
8230215: MacOS debug build is broken after JDK-8230003 Reviewed-by: zgu, mdoerr
src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp
src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp
--- 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) \