From b76a9b8f117c6bba7761b5a23de8ed8e0a92e77e Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Tue, 27 Aug 2019 17:02:38 +0200 Subject: [PATCH] 8230215: MacOS debug build is broken after JDK-8230003 Reviewed-by: zgu, mdoerr --- src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp | 2 +- src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp index e2eb1508221..26b99504db7 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp @@ -363,7 +363,7 @@ void ShenandoahAsserts::assert_rp_isalive_installed(const char *file, int line) } } -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; } diff --git a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp index 5efe71066a7..26ff8b1b983 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp @@ -66,7 +66,7 @@ public: 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) \