JDK-8220353 : [TESTBUG] TestRegisterRestoring uses SafepointALot without UnlockDiagnosticVMOptions
  • Type: Bug
  • Component: hotspot
  • Sub-Component: test
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-08
  • Updated: 2023-11-04
  • Resolved: 2019-03-08
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 12 JDK 13
11.0.23-oracleFixed 12.0.2Fixed 13 b12Fixed
Related Reports
Relates :  
Description
Test fails with:

Error: VM option 'SafepointALot' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'SafepointALot'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Command was:

command: main -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:-TieredCompilation -XX:+SafepointALot -XX:CompileCommand=exclude,compiler.runtime.safepoints.TestRegisterRestoring::main compiler.runtime.safepoints.TestRegisterRestoring
reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xbatch -XX:-TieredCompilation -XX:+SafepointALot -XX:CompileCommand=exclude,compiler.runtime.safepoints.TestRegisterRestoring::main compiler.runtime.safepoints.TestRegisterRestoring 
Comments
Fix Request See my comment here: JDK-8219584.
15-03-2019

URL: http://hg.openjdk.java.net/jdk/jdk/rev/65a9f034954f User: sgehwolf Date: 2019-03-08 13:34:22 +0000
08-03-2019

Caused by JDK-8219584: http://hg.openjdk.java.net/jdk/jdk/rev/feea57b38a1c#l3.1
08-03-2019

Review thread: http://mail.openjdk.java.net/pipermail/hotspot-dev/2019-March/037132.html
08-03-2019

Candidate webrev: http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8220353/01/webrev/
08-03-2019