RFR: 8269428: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out

Viktor Klang vklang at openjdk.org
Tue Feb 27 10:36:27 UTC 2024


As an intermediate fix to the test, switching to explicit usage of an ExecutorService seems to do the trick to make this test reliably pass.

With that said, this test (CHM::ToArray.java) seems to trigger an issue in ForkJoinPool, so that would need to be fixed separately.

Tagging @DougLea as an FYI. :)

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

Commit messages:
 - Switching CHM.ToArray test to use a dedicated thread pool

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

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


More information about the core-libs-dev mailing list