RFR: 8274033: Some tier-4 CDS EpsilonGC tests throw OOM [v2]
Ioi Lam
iklam at openjdk.java.net
Wed Sep 22 06:21:24 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:
@dholmes-ora comments
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5626/files
- new: https://git.openjdk.java.net/jdk/pull/5626/files/267ea334..7976fb03
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5626&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5626&range=00-01
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 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