8230046: Build failure after JDK-8230003
authorshade
Thu, 22 Aug 2019 20:22:29 +0200
changeset 57847 bc14eec6f4bc
parent 57846 01d9a1cff83a
child 57849 e1269de19aa5
8230046: Build failure after JDK-8230003 Reviewed-by: zgu, coleenp
src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp
src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp
--- 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) \