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:
Antonios Printezis 2010-05-07 13:14:41 -04:00
parent 428d02d5d7
commit a6d2266193
3 changed files with 58 additions and 9 deletions

View file

@ -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, \