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

SendaoYan syan at openjdk.org
Fri Feb 21 03:35:24 UTC 2025


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 `-XX:+UseCodeCacheFlushing` JVM option to test header make this test run passes whenever test receive `-XX:-UseCodeCacheFlushing` from outside or not.

Change has been verified locally, test-fix only, no risk.

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

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

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

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


More information about the hotspot-jfr-dev mailing list