mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 22:48:35 +00:00
8354452: Shenandoah: Enforce range checks on parameters controlling heuristic sleep times
Reviewed-by: ysr
This commit is contained in:
parent
d14e84c03b
commit
e8bcedb09b
@ -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 " \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user