JDK-8258505 : [TESTBUG] TestDivZeroWithSplitIf.java fails due to missing UnlockDiagnosticVMOptions
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16,17
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-12-16
  • Updated: 2021-03-23
  • Resolved: 2020-12-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 16 JDK 17
11.0.12-oracleFixed 16 b30Fixed 17Fixed
Related Reports
Duplicate :  
Relates :  
Description
The following test failed in the JDK16 CI:

compiler/loopopts/TestDivZeroWithSplitIf.java

Here's a snippet from the log file:

Error: VM option 'StressGCM' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'StressGCM'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comments
Fix Request (11u) Should get backported for parity with 11.0.12-oracle (follow-up fix for JDK-8257822). This one applies cleanly.
19-03-2021

Changeset: 04a1e5b7 Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2020-12-17 08:09:19 +0000 URL: https://git.openjdk.java.net/jdk16/commit/04a1e5b7
17-12-2020

ILW = Test fails due to missing UnlockDiagnosticVMOptions (test bug), single test at tier6, no workaround = MLH = P3
16-12-2020