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

SendaoYan syan at openjdk.org
Fri Mar 21 09:02:11 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 `-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.

Hi, can anyone take look this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/23721#issuecomment-2742729827


More information about the hotspot-jfr-dev mailing list