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

Erik Österlund eosterlund at openjdk.org
Thu May 25 15:16:56 UTC 2023


On Thu, 25 May 2023 13:43:55 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> 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.

Looks good.

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

Marked as reviewed by eosterlund (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14150#pullrequestreview-1444128154


More information about the hotspot-gc-dev mailing list