Integrated: 8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing

SendaoYan syan at openjdk.org
Tue Apr 1 06:28:23 UTC 2025


On Fri, 21 Feb 2025 03:31:11 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Test jdk/jfr/event/compiler/TestCodeCacheFull.java fails with option `-XX:-UseCodeCacheFlushing`, because this test is incompatible with `-XX:-UseCodeCacheFlushing` when `-XX:+SegmentedCodeCache` is enable, the detail analyze has been recorded by [JDK-8350386](https://bugs.openjdk.org/browse/JDK-8350386). This PR add `* @requires vm.opt.UseCodeCacheFlushing == null | vm.opt.UseCodeCacheFlushing == true` to make sure `UseCodeCacheFlushing` is not set or set as true.
> 
> Change has been verified locally, test-fix only, no risk.

This pull request has now been integrated.

Changeset: ad48846e
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ad48846edd894073d89839a2771271553b4e27cd
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing

Reviewed-by: tschatzl

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

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


More information about the hotspot-jfr-dev mailing list