RFR: 8323086: Shenandoah: Heap could be corrupted by oom during evacuation

Kelvin Nilsen kdnilsen at openjdk.org
Fri Jan 5 21:09:21 UTC 2024


On Fri, 5 Jan 2024 19:02:59 GMT, William Kemper <wkemper at openjdk.org> wrote:

> When the load reference barrier is unable to evacuate an object, it initiates a degenerated cycle, and allows the from-space reference past the barrier. The degenerated cycle is meant to patch up these references, but if the reference is written above the update-watermark, it will be missed.

Debugging of JDK-8322804 suggests that this is the necessary fix.

-------------

Marked as reviewed by kdnilsen (no project role).

PR Review: https://git.openjdk.org/jdk/pull/17285#pullrequestreview-1806846483


More information about the shenandoah-dev mailing list