RFR: 8337222: gc/TestDisableExplicitGC.java fails due to unexpected CodeCache GC

Aleksey Shipilev shade at openjdk.org
Fri Jul 26 11:23:33 UTC 2024


On Fri, 26 Jul 2024 10:37:58 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi,
> 
>   please review this change that disallows running the `gc/TestDisableExplicitGC.java` test with `-Xcomp` - code compilation can unnecessarily induce code cache gcs which make the test logic fail (expect no gc at all but there is one). There is no gain running this test with `-Xcomp`.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/20350#pullrequestreview-2201595725


More information about the hotspot-gc-dev mailing list