RFR: 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
Mon Feb 3 20:36:09 UTC 2025


Non-java threads were not having their gc-state configured when they attach. If they were created before the verifier's safepoint, but after the iteration over non-java threads, they would not have the correct state.

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

Commit messages:
 - Set gc state for all attached threads (not just java threads).

Changes: https://git.openjdk.org/jdk/pull/23428/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23428&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348268
  Stats: 4 lines in 1 file changed: 3 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23428.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23428/head:pull/23428

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


More information about the shenandoah-dev mailing list