[jdk8u-dev] RFR: 8326521: JFR: CompilerPhase event test fails on windows 32 bit

Severin Gehwolf sgehwolf at openjdk.org
Wed Jun 5 11:44:06 UTC 2024


On Tue, 4 Jun 2024 16:54:48 GMT, Robert Toyonaga <duke at openjdk.org> wrote:

> 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 specific to JDK8 (see https://github.com/adoptium/aqa-tests/issues/3045).
> 
> Testing: running test/jdk/jdk/jfr/event/compiler/TestCompilerPhase.java test passes.

Marked as reviewed by sgehwolf (Reviewer).

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

PR Review: https://git.openjdk.org/jdk8u-dev/pull/512#pullrequestreview-2098886730


More information about the jdk8u-dev mailing list