JDK-6788376 : allow to ignore unrecognized VM options
  • Type: Bug
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: hs14,6u10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-12-23
  • Updated: 2017-05-16
  • Resolved: 2009-02-27
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 6 JDK 7 Other
6u18Fixed 7Fixed OpenJDK6,hs15Fixed
Related Reports
Duplicate :  
Relates :  
Description
See comments.
Problem:
Hotspot has flags which could be unavailable in different
VM versions (server vs client, product vs debug).
It complicates VM testing.

Solution:
Add new product flag -XX:+IgnoreUnrecognizedVMOptions to allow
ignore unrecognized VM options and execute a java program.
By default it is off.

Comments
EVALUATION The fix has been verified as part of hs15-b02 pit.
24-02-2009

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/323728917cf4
06-02-2009

SUGGESTED FIX Add new -XX product flag -XX:+IgnoreUnrecognizedVMOptions to allow ignore unrecognized VM options and execute a java program. By default it is off.
05-01-2009

EVALUATION Hotspot JVM has flags which could be unavailable in different VM versions (server vs client, product vs debug). It complicates JVM testing since JVM aborts a java program execution if there are specified options which are unavailable (unrecognized).
05-01-2009

SUGGESTED FIX Add the flag to the test compiler/6775880/Test.java to run it with product VM (DeoptimizeALot flag is the debug flag unavailable in product VM).
24-12-2008