RFR: 8267404: vmTestbase/vm/mlvm/anonloader/stress/oome/metaspace/Test.java failed with OutOfMemoryError [v2]

Jie Fu jiefu at openjdk.java.net
Fri May 21 15:25:09 UTC 2021


On Fri, 21 May 2021 14:40:52 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Seems fine. I can confirm this working with x86 and x64.
> 
> The MaxMetaspaceSize feels a bit on the low side - I would prefer a somewhat increased value of maybe 512k or 1m. Just to get the VM rolling a bit before OOMing out. I tested 1m for both 32bit and 64bit, seems to work too.
> 
> But I leave it up to you, this is fine too. Just please make sure other platforms work with this setting, esp. arm32 and aarch64.
> 
> (I'm on vacation and won't be able to look at this for the next two weeks).
> 
> If nobody uses AnonkTestee01 anymore, that class can be removed.
> 
> Cheers, Thomas

Thanks @tstuefe for your review.

MaxMetaspaceSize has been increased to 512k.
It works on our Linux/{x86, x64}, MacOSX and aarch64.
Thanks.

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

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


More information about the hotspot-runtime-dev mailing list