RFR: JDK-8324930: java/lang/StringBuilder problem with concurrent jtreg runs
Matthias Baesken
mbaesken at openjdk.org
Wed Feb 14 13:15:03 UTC 2024
On Tue, 30 Jan 2024 09:08:28 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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.
I started a discussion on jtreg-dev https://mail.openjdk.org/pipermail/jtreg-dev/2024-February/001926.html
but not much response so far. Adding a jtreg test key for tests with higher memory requirement (like HugeCapacity) would probably help to solve these resource issues .
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17625#issuecomment-1943742596
More information about the core-libs-dev
mailing list