RFR: 8336944: Shenandoah: Should only relativize stack chunks for successful evacuations
Y. Srinivas Ramakrishna
ysr at openjdk.org
Tue Jul 23 01:33:33 UTC 2024
On Mon, 22 Jul 2024 23:56:46 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.
🚢
-------------
Marked as reviewed by ysr (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20288#pullrequestreview-2192803782
More information about the hotspot-gc-dev
mailing list