-
Enhancement
-
Resolution: Fixed
-
P3
-
8u144
-
b23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8186309 | Bob Vandette | P3 | Closed | Won't Fix |
A customer has asked if it would be possible to specify an option that would allow the VM to select a percentage of available RAM. This becomes important when running the JVM in a Docker container where the amount of RAM available to a Java process can vary. The customer would like to use as much available RAM as possible rather than counting on ergonomics to pick the amount for them.
The -XX:Min/MaxRAMFraction options come close to providing what the customer wants but they would either prefer a new set of flags that would represent a % of total rather than a ratio or they would be ok if we change the existing flags to a floating point value. The new flag could be named -XX:MaxRAMPercentage=xx
The -XX:Min/MaxRAMFraction options come close to providing what the customer wants but they would either prefer a new set of flags that would represent a % of total rather than a ratio or they would be ok if we change the existing flags to a floating point value. The new flag could be named -XX:MaxRAMPercentage=xx
- backported by
-
JDK-8186309 Allow more flexibility in selecting Heap % of available RAM
-
- Closed
-
- csr for
-
JDK-8186315 Allow more flexibility in selecting Heap % of available RAM
-
- Closed
-
- duplicates
-
JDK-8219312 -XX:MaxRAMPercentage doesn't recognize integer number correctly
-
- Closed
-
- relates to
-
JDK-8187125 Option MaxRAMFraction was deprecated
-
- Closed
-
-
JDK-8295373 java/javaw: add -Xmx variant to specify percentage of physical RAM
-
- New
-