RFR: JDK-8324930: java/lang/StringBuilder problem with concurrent jtreg runs

Matthias Baesken mbaesken at openjdk.org
Tue Jan 30 09:13:02 UTC 2024


On some Windows machines we see sometimes OOM errors because of high resource (memory/swap) consumption. This is especially seen when the jtreg runs have higher concurrency. A solution is to put the java/lang/StringBuilder tests in the exclusiveAccess.dirs group so that they are not executed concurrently, which helps to mitigate the resource shortages.
Of course this has the downside that on very large machines the concurrent execution is not done any more.

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

Commit messages:
 - JDK-8324930

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

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


More information about the core-libs-dev mailing list