JDK-6721093 : -XX:AppendRatio=N not supported
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u10
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2008-07-01
  • Updated: 2011-03-08
  • Resolved: 2011-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 6 JDK 7 Other
6u14Fixed 7Fixed hs14Fixed
Related Reports
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_10-beta"
Java(TM) SE Runtime Environment (build 1.6.0_10-beta-b25)
Java HotSpot(TM) Server VM (build 11.0-b12, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Linux host 2.6.5-7.257-smp #1 SMP Mon May 15 14:14:14 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux

A DESCRIPTION OF THE PROBLEM :
Starting java VM with I get an -XX:AppendRatio=3

Unrecognized VM option 'AppendRatio=3'

On#

java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)

it worked.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Call "java AppendRatio=3"

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
VM starting and stays running.
ACTUAL -
VM stops with "Unrecognized VM option 'AppendRatio=3'"

ERROR MESSAGES/STACK TRACES THAT OCCUR :
Unrecognized VM option 'AppendRatio=3'

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Not needed
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Start without this option, but how about more fair monitor, that are needed by the application.

Release Regression From : 6u6
The above release value was the last known release where this 
bug was not reproducible. Since then there has been a regression.

Release Regression From : 6u6
The above release value was the last known release where this 
bug was not reproducible. Since then there has been a regression.

Comments
EVALUATION AppendRatio will be ignored (with a warning) in JDK6, but will still be an error to use in JDK7.
29-07-2008

EVALUATION The mechanism to ignore newly obsoleted command line flags has been expanded to be JDK-version aware so that we can ignore flags at first and deny them in later JDKs using the same VM. I added AppendRatio to be ignored until JDK7, at which point it will be an error to use it. If this fix needs to be backported to HSX < 14, I do not recommend using this code as it is a bit intrusive and may be risky. Instead simply add 'AppendRatio' to the existing 'obsoleted' flags specified in arguments.cpp.
29-07-2008