Skip to content
Permalink
Browse files
8263030: Remove Shenandoah leftovers from ReferenceProcessor
Reviewed-by: zgu
  • Loading branch information
rkennke committed Mar 4, 2021
1 parent 222a17e commit ef5e13d263b6d4aaa50e777f7a3fc818293126c8
Showing 1 changed file with 1 addition and 2 deletions.
@@ -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;
}
}

0 comments on commit ef5e13d

Please sign in to comment.