8248041: Shenandoah: pre-Full GC root updates may miss some roots
zgu at redhat.com
Tue Jun 23 14:56:56 UTC 2020
Updating roots before full GC, should really belong to prepare phase.
The roots may contain forwarded pointers, only when this full GC is
triggered by evacuation OOM, that leaves forwarded objects in roots.
Moving to prepare phase, while has_forwarded_objects flag still valid,
also allows us to bypass this phase, if no forwarded objects in heap.
More information about the hotspot-gc-dev