[jdk21u-dev] RFR: 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Robert Toyonaga
duke at openjdk.org
Fri Apr 12 17:13:06 UTC 2024
This is a backport of https://github.com/openjdk/jdk/commit/96530bcc07514c3eda40fd6ffa74f197fe541dea
On some systems (such as windows 32 bit) Hotspot only uses the C1 compiler in by design. The CompilerPhase JFR events are only emitted from C2 code. So the test TestCompilerPhase fails on some systems because it cannot generate the necessary CompilerPhase JFR events .
This backport prevents NeverActAsServerClassMachine from being set during the test TestCompilerPhase, so that it isn't restricted to C1. It should help resolve some test failures for Adoptium (see https://github.com/adoptium/aqa-tests/issues/3045).
-------------
Commit messages:
- Backport 96530bcc07514c3eda40fd6ffa74f197fe541dea
Changes: https://git.openjdk.org/jdk21u-dev/pull/499/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=499&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8326521
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/499.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/499/head:pull/499
PR: https://git.openjdk.org/jdk21u-dev/pull/499
More information about the jdk-updates-dev
mailing list