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

William Kemper wkemper at openjdk.org
Mon Feb 10 21:54:51 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.

William Kemper has updated the pull request incrementally with one additional commit since the last revision:

  Hold the thread lock when concurrently changing gc state

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23428/files
  - new: https://git.openjdk.org/jdk/pull/23428/files/f402628e..1a4e3bb1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23428&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23428&range=00-01

  Stats: 13 lines in 1 file changed: 8 ins; 0 del; 5 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