This failing test has been untouched for years and has recently started failing with OOME. In addition, the test is failing pretty frequently and causing a lot of noise. It failed on multiple different machines as well.
There seems to be a lot of byte arrays that looks like is causing the issue. To increase stability, I have gone ahead and reduced the `endTime` duration from 10 seconds to 5 seconds, which should be enough. I have run the test on all OS's with 100 repeats after the changes and the test passed on all runs. ------------- Commit messages: - Initial commit Changes: https://git.openjdk.org/jdk/pull/29395/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29395&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8376151 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/29395.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29395/head:pull/29395 PR: https://git.openjdk.org/jdk/pull/29395
