RFR: 8267293: vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java fails when JTREG_JOBS > 25 [v2]

Jie Fu jiefu at openjdk.java.net
Wed May 19 15:17:38 UTC 2021


On Tue, 18 May 2021 05:12:33 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Hi Jie,
> 
> You can safely get by with less. A very safe bet for all platforms would be:
> 
> * 256m heap
> * 8m MaxMetaspaceSize
> 
> The latter could be probably reduced more (the smaller metaspace, the faster the test comes to conclusion), down to 6m or 4m. On my machine 4m works for both 64 and 32bit. But 8m is probably safe on all platforms.
> 
> Cheers, Thomas

Maybe -Xmx256m is not enough.
OOME on aarch64: https://bugs.openjdk.java.net/browse/JDK-8267404
Will do more investigation tomorrow.

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

PR: https://git.openjdk.java.net/jdk/pull/4076


More information about the hotspot-runtime-dev mailing list