diff src/share/vm/runtime/arguments.cpp @ 1610:79107c3a6bd5

6949307: G1: raise a vm error, do not core dump, if target pause time and target interval are inconsistent Summary: 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
author tonyp
date Fri, 07 May 2010 13:14:41 -0400
parents e9ff18c4ace7
children fcbb92a1ab3b c5f1ea9e15e8
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Thu Jun 10 08:27:35 2010 -0700
+++ b/src/share/vm/runtime/arguments.cpp	Fri May 07 13:14:41 2010 -0400
@@ -1376,11 +1376,6 @@
   }
   no_shared_spaces();
 
-  // Set the maximum pause time goal to be a reasonable default.
-  if (FLAG_IS_DEFAULT(MaxGCPauseMillis)) {
-    FLAG_SET_DEFAULT(MaxGCPauseMillis, 200);
-  }
-
   if (FLAG_IS_DEFAULT(MarkStackSize)) {
     FLAG_SET_DEFAULT(MarkStackSize, 128 * TASKQUEUE_SIZE);
   }