mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8028391: Make the Min/MaxHeapFreeRatio flags manageable
Made the flags Min- and MaxHeapFreeRatio manageable, and implemented support for these flags in ParallalGC. Reviewed-by: sla, mgerdin, brutisso
This commit is contained in:
parent
9d4f3dfd4f
commit
5301534dc3
11 changed files with 178 additions and 36 deletions
|
@ -3135,15 +3135,15 @@ class CommandLineFlags {
|
|||
"Maximum size of class area in Metaspace when compressed " \
|
||||
"class pointers are used") \
|
||||
\
|
||||
product(uintx, MinHeapFreeRatio, 40, \
|
||||
manageable(uintx, MinHeapFreeRatio, 40, \
|
||||
"The minimum percentage of heap free after GC to avoid expansion."\
|
||||
" For most GCs this applies to the old generation. In G1 it" \
|
||||
" applies to the whole heap. Not supported by ParallelGC.") \
|
||||
" For most GCs this applies to the old generation. In G1 and" \
|
||||
" ParallelGC it applies to the whole heap.") \
|
||||
\
|
||||
product(uintx, MaxHeapFreeRatio, 70, \
|
||||
manageable(uintx, MaxHeapFreeRatio, 70, \
|
||||
"The maximum percentage of heap free after GC to avoid shrinking."\
|
||||
" For most GCs this applies to the old generation. In G1 it" \
|
||||
" applies to the whole heap. Not supported by ParallelGC.") \
|
||||
" For most GCs this applies to the old generation. In G1 and" \
|
||||
" ParallelGC it applies to the whole heap.") \
|
||||
\
|
||||
product(intx, SoftRefLRUPolicyMSPerMB, 1000, \
|
||||
"Number of milliseconds per MB of free space in the heap") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue