8333129: Move ShrinkHeapInSteps flag to Serial GC

Reviewed-by: dholmes, kbarrett
This commit is contained in:
Zhengyu Gu 2024-05-31 13:00:04 +00:00
parent 2f2dc2289b
commit 79a78f032e
2 changed files with 10 additions and 11 deletions

View File

@ -30,7 +30,11 @@
product, \ product, \
product_pd, \ product_pd, \
range, \ range, \
constraint) constraint) \
product(bool, ShrinkHeapInSteps, true, \
"When disabled, informs the GC to shrink the java heap directly" \
" to the target size at the next full GC rather than requiring" \
" smaller steps during multiple full GCs.") \
// end of GC_SERIAL_FLAGS // end of GC_SERIAL_FLAGS

View File

@ -1425,11 +1425,6 @@ const int ObjectAlignmentInBytes = 8;
range(0, 100) \ range(0, 100) \
constraint(MaxHeapFreeRatioConstraintFunc,AfterErgo) \ constraint(MaxHeapFreeRatioConstraintFunc,AfterErgo) \
\ \
product(bool, ShrinkHeapInSteps, true, \
"When disabled, informs the GC to shrink the java heap directly" \
" to the target size at the next full GC rather than requiring" \
" smaller steps during multiple full GCs.") \
\
product(intx, SoftRefLRUPolicyMSPerMB, 1000, \ product(intx, SoftRefLRUPolicyMSPerMB, 1000, \
"Number of milliseconds per MB of free space in the heap") \ "Number of milliseconds per MB of free space in the heap") \
range(0, max_intx) \ range(0, max_intx) \