On Fri, 8 May 2026 09:13:27 GMT, Tobias Hartmann <[email protected]> wrote:

> The test is already quite slow in mainline because of the daemon 
> `GarbageProducerThread` which triggers massive GC activity. With 
> `--enable-preview` the jimage paths, including preview directory processing 
> in `src/java.base/share/classes/jdk/internal/jimage/ImageReader.java`, are 
> all C2 compiled due to `-Xcomp` and while that happens, the daemon thread 
> keeps issuing synchronous explicit GCs accumulating ~223 extra Full GCs and 
> ~15.6s extra Full-GC pause times.
> 
> While this overhead of `jimage` is a more general issue, there's no real 
> benefit in running this particular test with `-Xcomp` (even without 
> Valhalla). So let's exclude it.
> 
> Thanks,
> Tobias
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks reasonable!

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

Marked as reviewed by chagedorn (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2415#pullrequestreview-4252341986

Reply via email to