Integrated: 8336944: Shenandoah: Should only relativize stack chunks for successful evacuations

William Kemper wkemper at openjdk.org
Tue Jul 23 16:53:50 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.

This pull request has now been integrated.

Changeset: 2f2223d7
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2f2223d7524c4405cc7ca6ab77da62016bbfa911
Stats:     3 lines in 1 file changed: 1 ins; 2 del; 0 mod

8336944: Shenandoah: Should only relativize stack chunks for successful evacuations

Reviewed-by: shade, ysr

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

PR: https://git.openjdk.org/jdk/pull/20288


More information about the hotspot-gc-dev mailing list