mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
6949307: G1: raise a vm error, do not core dump, if target pause time and target interval are inconsistent
First, change the guarantee to raising a vm error. Second, set the interval dynamically, and based on the pause time target, if it is not set explicitly. Reviewed-by: ysr, johnc
This commit is contained in:
parent
428d02d5d7
commit
a6d2266193
3 changed files with 58 additions and 9 deletions
|
@ -1975,7 +1975,7 @@ class CommandLineFlags {
|
|||
"Adaptive size policy maximum GC pause time goal in msec, " \
|
||||
"or (G1 Only) the max. GC time per MMU time slice") \
|
||||
\
|
||||
product(intx, GCPauseIntervalMillis, 500, \
|
||||
product(uintx, GCPauseIntervalMillis, 0, \
|
||||
"Time slice for MMU specification") \
|
||||
\
|
||||
product(uintx, MaxGCMinorPauseMillis, max_uintx, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue