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).

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

Commit messages:
 - JDK-8383998

Changes: https://git.openjdk.org/valhalla/pull/2415/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2415&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8383998
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/2415.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2415/head:pull/2415

PR: https://git.openjdk.org/valhalla/pull/2415

Reply via email to