JDK-8141129 : 3 compiler control tests fail on product builds
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-02
  • Updated: 2015-11-19
  • Resolved: 2015-11-03
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 9
9 b93Fixed
Related Reports
Relates :  
Description
compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOff.java
compiler/compilercontrol/TestCompilerDirectivesCompatibilityCommandOn.java
compiler/compilercontrol/TestCompilerDirectivesCompatibilityFlag.java


----------System.err:(4/266)----------
Error: VM option 'PrintAssembly' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'PrintAssembly'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comments
In these tests -XX:+UnlockDiagnosticVMOptions should be specified before the PrintAssembly 36 * @run testng/othervm -Xbootclasspath/a:. -XX:-PrintAssembly -XX:CompileCommand=option,*.helper,bool,PrintAssembly,false -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestCompilerDirectivesCompatibilityCommandOff
02-11-2015