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

Robert Toyonaga duke at openjdk.org
Mon Apr 15 13:39:50 UTC 2024


On Fri, 12 Apr 2024 18:39:11 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).
>
> Robert Toyonaga has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   Backport 96530bcc07514c3eda40fd6ffa74f197fe541dea

**Pre-submit tests - linux-x86 / test - Test (tier1)**  fails for reasons seemingly unrelated to this PR.

Fails on test:`java/util/HashMap/WhiteBoxResizeTest.java` for this reason:

 Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/499#issuecomment-2056880085


More information about the jdk-updates-dev mailing list