Skip to content

Does Java 8 and 11 ParallelGC honors MinHeapFreeRatio and MaxHeapFreeRatio JVM settings? #5

Answered by jgneff
gurukraj asked this question in Q&A
Discussion options

You must be logged in to vote

The support for MinHeapFreeRatio and MaxHeapFreeRatio was added to the Parallel Collector on January 29, 2014, in JDK 9 Build 03 by the following enhancement request:

Enhancement Request
8028391: Make the Min/MaxHeapFreeRatio flags manageable
"To enable applications to control how and when to allow for more or less GC, the flags -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio should be made manageable. Support for these flags should also be implemented in the default parallel collector."

The enhancement was back-ported to JDK 7 and JDK 8. The actual code adding the support is found in the following commit:

Git Commit
8028391: Make the Min/MaxHeapFreeRatio flags manageable
"Made the flags Mi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gurukraj
Comment options

Answer selected by gurukraj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants