RFR: 8234974: Shenandoah: Do concurrent roots even when no evacuation is necessary

Roman Kennke rkennke at redhat.com
Tue Dec 3 20:28:44 UTC 2019

Shenandoah can short-cut a cycle when the collection set remains empty,
and doesn't dive into concurrent evacuation and updating refs phases
then. However, this currently also precludes concurrent roots processing
and concurrent class unloading. This is only a minor nuisance now
(effectively skipping class unloading for short-cut-cycles), but amounts
to a real bug when we're going to do weak-roots-cleaning concurrently too.


Testing: hotspot_gc_shenandoah

Can I please get a review?


More information about the hotspot-gc-dev mailing list