RFR: 8267293: vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java fails when JTREG_JOBS > 25 [v2]
Jie Fu
jiefu at openjdk.java.net
Tue May 18 06:50:13 UTC 2021
On Tue, 18 May 2021 05:12:33 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Jie Fu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> -XX:MaxMetaspaceSize=8m
>
> 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
Thanks @tstuefe and @shipilev .
The test time has been reduced from 41.8s to 34.8s .
And it passed on all our x86 platforms.
Updated.
Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4076
More information about the hotspot-runtime-dev
mailing list