Skip to content
Permalink
Browse files
8263030: Remove Shenandoah leftovers from ReferenceProcessor
Backport-of: ef5e13d263b6d4aaa50e777f7a3fc818293126c8
  • Loading branch information
shipilev committed Mar 22, 2021
1 parent 71102e7 commit 2c6b47c6b6d3c1d2b3aaef4266cc5169af7aecc4
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/hotspot/share/gc/shared/referenceProcessor.cpp
@@ -1164,8 +1164,7 @@ bool ReferenceProcessor::discover_reference(oop obj, ReferenceType rt) {
// Check assumption that an object is not potentially
// discovered twice except by concurrent collectors that potentially
// trace the same Reference object twice.
assert(UseG1GC || UseShenandoahGC,
"Only possible with a concurrent marking collector");
assert(UseG1GC, "Only possible with a concurrent marking collector");
return true;
}
}

1 comment on commit 2c6b47c

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 2c6b47c Mar 22, 2021

Please sign in to comment.