Integrated: 8274033: Some tier-4 CDS EpsilonGC tests throw OOM

Ioi Lam iklam at openjdk.java.net
Thu Sep 23 03:52:55 UTC 2021


On Wed, 22 Sep 2021 05:44:44 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.

This pull request has now been integrated.

Changeset: 0fbbe4c9
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0fbbe4c9a779c24d5502648c866b7f1e1e50acc0
Stats:     13 lines in 1 file changed: 13 ins; 0 del; 0 mod

8274033: Some tier-4 CDS EpsilonGC tests throw OOM

Reviewed-by: dholmes, ccheung, minqi

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

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


More information about the hotspot-runtime-dev mailing list