8230215: MacOS debug build is broken after JDK-8230003

Reviewed-by: zgu, mdoerr
This commit is contained in:
Aleksey Shipilev 2019-08-27 17:02:38 +02:00
parent f8e6dcdd09
commit b76a9b8f11
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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) \