RFR: 8274033: Some tier-4 CDS EpsilonGC tests throw OOM [v3]
Ioi Lam
iklam at openjdk.java.net
Wed Sep 22 17:04:21 UTC 2021
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5626/files
- new: https://git.openjdk.java.net/jdk/pull/5626/files/7976fb03..806ae762
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5626&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5626&range=01-02
Stats: 10 lines in 3 files changed: 0 ins; 9 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/5626.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5626/head:pull/5626
PR: https://git.openjdk.java.net/jdk/pull/5626
More information about the hotspot-runtime-dev
mailing list