< prev index next >
src/hotspot/share/gc/shared/referenceProcessor.cpp
Print this page
rev 52801 : Upstream/backport Shenandoah to JDK11u
* * *
[backport] 8237570: Shenandoah: cleanup uses of allocation/free threshold in static heuristics
Reviewed-by: rkennke
@@ -1154,11 +1154,11 @@
assert(RefDiscoveryPolicy == ReferenceBasedDiscovery,
"Unrecognized policy");
// Check assumption that an object is not potentially
// discovered twice except by concurrent collectors that potentially
// trace the same Reference object twice.
- assert(UseConcMarkSweepGC || UseG1GC,
+ assert(UseConcMarkSweepGC || UseG1GC || UseShenandoahGC,
"Only possible with a concurrent marking collector");
return true;
}
}
< prev index next >