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

Igor Ignatyev iignatyev at openjdk.java.net
Mon May 24 04:50:10 UTC 2021


On Fri, 21 May 2021 23:04:53 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Jie Fu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Increase MaxMetaspaceSize to 512k
>
> According to @dcubed-ojdk 's comments in the JBS, the latest change passed in Oracle's CI/CD.
> Will push it tomorrow if there is no objection.
> Thanks.

@DamonFool , the goal of this test is to check that in case of (nearly) exhaused metaspace defining classes via `MethodHandles.Lookup::defineHiddenClass` will lead to OOME,  after your rewriting, this test doesn't serve that purpose anymore, now it just checks that runnig `java -version` w/ small metaspace will lead to OOME.

-- Igor

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

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


More information about the hotspot-runtime-dev mailing list