RFR: 8336944: Shenandoah: Should only relativize stack chunks for successful evacuations [v2]
Aleksey Shipilev
shade at openjdk.org
Tue Jul 23 16:53:50 UTC 2024
On Tue, 23 Jul 2024 16:50:32 GMT, William Kemper <wkemper at openjdk.org> wrote:
>> In some cases, different threads may race to evacuate an object. The race is won by "CAS"ing in the forwarding pointer. The threads that lose this race must "back out" their allocation. The work to relativize stack chunks should only happen for the thread that wins the evacuation race.
>
> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
>
> Assert that return value is correct after relativization of stack chunk
Marked as reviewed by shade (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20288#pullrequestreview-2194520892
More information about the hotspot-gc-dev
mailing list