RFR: 8274033: Some tier-4 CDS EpsilonGC tests throw OOM [v3]
Calvin Cheung
ccheung at openjdk.java.net
Wed Sep 22 18:27:56 UTC 2021
On Wed, 22 Sep 2021 17:04:21 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Problem:
>>
>> In Oracle hs-tier4, in order to test the support of archived heap objects in EpsilonGC, we run all test cases under open/test/hotspot/jtreg/runtime/cds with `-Dtest.cds.runtime.options=-XX:+UnlockExperimentalVMOptions,-XX:+UseEpsilonGC`. Some of those tests may create a lot of objects, some of those will eventually become unreferenced. Because EpsilonGC cannot collect garbage, the tests will fail with OOM.
>>
>> Fix:
>>
>> Limit the set of tests to be executed by introducing a test group `hotspot_cds_epsilongc`. This reduces the number of tests from 200+ to about 50. The problematic `runtime/cds/appcds/methodHandles` cases are excluded.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>
> fixed typo; removed fix for handling of CDSUtils::getRuntimePrefix() to be done in a separate bug
Marked as reviewed by ccheung (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/5626
More information about the hotspot-runtime-dev
mailing list