RFR: 8308589: gc/cslocker/TestCSLocker.java timed out

Stefan Karlsson stefank at openjdk.org
Thu May 25 13:51:27 UTC 2023


We have found that this test is flawed and will cause deadlocks if allocations wait for a GC to complete. We tried to fix this issue by removing one source of allocations (see JDK-8308043), but that there are still more reasons why the JVM might allocate memory in the test. The test has a history of causing timeouts (likely caused by deadlocks), but we're currently only seeing hangs with Generational ZGC. I propose that we turn off this test for Generational ZGC, and if the test still cause problems in other configurations then we'll reevaluate if this should be handled some other way.

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

Commit messages:
 - 8308589: gc/cslocker/TestCSLocker.java timed out

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

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


More information about the hotspot-gc-dev mailing list