mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-06 04:59:02 +00:00
8263030: Remove Shenandoah leftovers from ReferenceProcessor
Reviewed-by: zgu
This commit is contained in:
parent
222a17ef77
commit
ef5e13d263
@ -1157,8 +1157,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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user