[jdk17u-dev] Integrated: 8326521: JFR: CompilerPhase event test fails on windows 32 bit

Robert Toyonaga duke at openjdk.org
Tue Apr 30 15:29:12 UTC 2024


On Fri, 26 Apr 2024 20:12:53 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 (see https://github.com/adoptium/aqa-tests/issues/3045).
> 
> Testing: the updated test/jdk/jdk/jfr/event/compiler/TestCompilerPhase.java test passes.

This pull request has now been integrated.

Changeset: 025969c9
Author:    Robert Toyonaga <rtoyonag at redhat.com>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/025969c97e8b6dc600d2935c4225d04dae6e23bf
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8326521: JFR: CompilerPhase event test fails on windows 32 bit

Backport-of: 96530bcc07514c3eda40fd6ffa74f197fe541dea

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2433


More information about the jdk-updates-dev mailing list