Integrated: 8348268: Test gc/shenandoah/TestResizeTLAB.java#compact: fatal error: Before Updating References: Thread C2 CompilerThread1: expected gc-state 9, actual 21

William Kemper wkemper at openjdk.org
Tue Feb 11 20:23:14 UTC 2025


On Mon, 3 Feb 2025 20:28:58 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Non-java threads were not having their gc-state configured when they attach. Additionally, we need to hold the `Threads_lock` when concurrently changing the gc state to make sure that any stale gc state observed when the thread `attaches` is fixed by the handshake when the thread list is iterated.

This pull request has now been integrated.

Changeset: 8c09d40d
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8c09d40d6c345fda9fc7b358a53cae3b5965580b
Stats:     22 lines in 2 files changed: 16 ins; 1 del; 5 mod

8348268: Test gc/shenandoah/TestResizeTLAB.java#compact: fatal error: Before Updating References: Thread C2 CompilerThread1: expected gc-state 9, actual 21

Reviewed-by: shade

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

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


More information about the shenandoah-dev mailing list