8354452: Shenandoah: Enforce range checks on parameters controlling heuristic sleep times

Reviewed-by: ysr
This commit is contained in:
William Kemper 2025-04-11 21:25:09 +00:00
parent d14e84c03b
commit e8bcedb09b

View File

@ -300,12 +300,14 @@
"the cycles. Lower values would increase GC responsiveness " \
"to changing heap conditions, at the expense of higher perf " \
"overhead. Time is in milliseconds.") \
range(1, 999) \
\
product(uintx, ShenandoahControlIntervalMax, 10, EXPERIMENTAL, \
"The maximum sleep interval for control loop that drives " \
"the cycles. Lower values would increase GC responsiveness " \
"to changing heap conditions, at the expense of higher perf " \
"overhead. Time is in milliseconds.") \
range(1, 999) \
\
product(uintx, ShenandoahControlIntervalAdjustPeriod, 1000, EXPERIMENTAL, \
"The time period for one step in control loop interval " \