-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Duplicate
-
Affects Version/s: 8u192
-
Fix Version/s: None
-
Component/s: hotspot
-
Labels:
-
Subcomponent:
-
CPU:x86_64
-
OS:generic
ADDITIONAL SYSTEM INFORMATION :
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
A DESCRIPTION OF THE PROBLEM :
-XX:MaxRAMPercentage doesn't recognize integer number correctly
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -XX:MaxRAMPercentage=10 -version
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error
ACTUAL -
Improperly specified VM option 'MaxRAMPercentage=10'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
CUSTOMER SUBMITTED WORKAROUND :
add .0 to value like this:
java -XX:MaxRAMPercentage=10.0 -version
FREQUENCY : always
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
A DESCRIPTION OF THE PROBLEM :
-XX:MaxRAMPercentage doesn't recognize integer number correctly
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -XX:MaxRAMPercentage=10 -version
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No error
ACTUAL -
Improperly specified VM option 'MaxRAMPercentage=10'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
CUSTOMER SUBMITTED WORKAROUND :
add .0 to value like this:
java -XX:MaxRAMPercentage=10.0 -version
FREQUENCY : always
- duplicates
-
JDK-8186248 Allow more flexibility in selecting Heap % of available RAM
-
- Resolved
-