8263030: Remove Shenandoah leftovers from ReferenceProcessor

Reviewed-by: zgu
This commit is contained in:
Roman Kennke 2021-03-04 17:04:28 +00:00
parent 222a17ef77
commit ef5e13d263

View File

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