RFR: 8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing [v2]
SendaoYan
syan at openjdk.org
Sat Mar 22 04:00:53 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.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
Use "* @requires vm.opt.UseCodeCacheFlushing == null | vm.opt.UseCodeCacheFlushing == true" instead of enable UseCodeCacheFlushing in options
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23721/files
- new: https://git.openjdk.org/jdk/pull/23721/files/5afda39f..cf9a4353
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23721&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23721&range=00-01
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 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