RFR: 8236815: Shenandoah: Fix weak roots in final Traversal GC phase
zgu at redhat.com
Wed Jan 8 21:31:02 UTC 2020
On 1/8/20 4:25 PM, Roman Kennke wrote:
> We're not fixing up all weak roots in final-traversal. But we have to,
> because weak roots are not scanned+evacuated at init-traversal, and may
> thus keep dangling pointers that would leak out to the next cycle. This
> can lead to heap corruption, crashes, etc.
> Testing: several runs of hotspot_gc_shenandoah, which *sometimes*
> exposed the bug. I couldn't reproduce it. I suggest to give it more
> spins in CI.
> Can I please get a review?
More information about the hotspot-gc-dev