[13] RFR (T) 8226394: [TESTBUG] vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java fails with java.lang.NoClassDefFoundError
David Holmes
david.holmes at oracle.com
Fri Jun 21 14:00:29 UTC 2019
On 21/06/2019 5:37 am, coleen.phillimore at oracle.com wrote:
> Summary: don't use printStackTrace to verify OOM type.
Can you update the bug to show that you decided to workaround the issue
in the test rather than forcing pre-initialization of the class library
code please.
> This avoids StackTraceElement needing to load HashedModules type when
> out of metaspace OOM. Tested 100x without failure with config that
> averages 30% failure rate.
>
> open webrev at http://cr.openjdk.java.net/~coleenp/2019/8226394.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8226394
Fix seems quite reasonable - unsure why it was thought the complete
stack was needed in the first place ...
Thanks,
David
> Thanks,
> Coleen
More information about the hotspot-runtime-dev
mailing list