Integrated: 8326121: vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless.

Ivan Walulya iwalulya at openjdk.org
Thu May 30 08:35:08 UTC 2024


On Tue, 28 May 2024 15:51:54 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:

> Hi all,
> 
> Please review this change to trigger SkippedException instead of RunTimeExceptions when a test is deemed useless because of full-GCs. The test triggers frequent `System.gc()` calls which in some cases may aggressively shrink the heap, and subsequent allocations lead to full-GC. This may affect the usefulness of the test, but it is not a test failure. So we added  SkippedException to indicate this situation.
> 
> Testing: Local testing with very small heaps.
>               Tier 1.

This pull request has now been integrated.

Changeset: 2b4a4b7b
Author:    Ivan Walulya <iwalulya at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2b4a4b7bd84806f997adc107abbd4351425e8d1d
Stats:     8 lines in 2 files changed: 4 ins; 2 del; 2 mod

8326121: vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless.

Reviewed-by: tschatzl, ayang

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

PR: https://git.openjdk.org/jdk/pull/19432


More information about the hotspot-gc-dev mailing list