Skip to content

Commit

Permalink
8230046: Build failure after JDK-8230003
Browse files Browse the repository at this point in the history
Reviewed-by: zgu, coleenp
  • Loading branch information
shipilev committed Aug 22, 2019
1 parent a9f92be commit c5813a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ void ShenandoahAsserts::assert_rp_isalive_installed(const char *file, int line)
}
}

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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahAsserts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ShenandoahAsserts {
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) \
Expand Down

0 comments on commit c5813a8

Please sign in to comment.