changeset 56064:bc14eec6f4bc

8230046: Build failure after JDK-8230003 Reviewed-by: zgu, coleenp
author shade
date Thu, 22 Aug 2019 20:22:29 +0200
parents 01d9a1cff83a
children e1269de19aa5
files src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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) \