JDK-8062742 : compiler/EliminateAutoBox/UnsignedLoads.java fails with client vm
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u40,9
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-11-03
  • Updated: 2017-07-26
  • Resolved: 2014-11-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 8 JDK 9
8u40Fixed 9 b42Fixed
Related Reports
Relates :  
Description
----------messages:(3/361)----------
command: main -Xbatch -XX:+EliminateAutoBox -XX:CompileOnly=::valueOf,::byteValue,::shortValue,::testUnsignedByte,::testUnsignedShort UnsignedLoads
reason: User specified action: run main/othervm -Xbatch -XX:+EliminateAutoBox -XX:CompileOnly=::valueOf,::byteValue,::shortValue,::testUnsignedByte,::testUnsignedShort UnsignedLoads 
elapsed time (seconds): 0.018
----------System.out:(0/0)----------
----------System.err:(3/150)----------
Unrecognized VM option 'EliminateAutoBox'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comments
verified by nightly testing
26-07-2017

Thx. I deleted my earlier comment which is not very useful.
05-11-2014

[~iignatyev] asked to assign the bug to [~tpivovarova].
05-11-2014

As [~kvn] pointed out, the problem is missing -XX:+IgnoreUnrecognizedVMOptions. Try to run it with Client VM. Or simply reassign the bug to me and I'll take care of it.
05-11-2014

ILW=Test failed due to misconfiguration, this test on client only, none=LLH=P5, nightly -> P1
05-11-2014

And add the to TEST.groups to execute in JPRT.
04-11-2014

The test should work with Client VM too. Missed flag -XX:+IgnoreUnrecognizedVMOptions.
03-11-2014

This could be solved with an @requires statement in the test to verify that the test is not being run with client: @requires !(vm.flavor == client)
03-11-2014