Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1594:b9bc732be7c0 | 1610:79107c3a6bd5 |
---|---|
1373 if (ParallelGCThreads == 0) { | 1373 if (ParallelGCThreads == 0) { |
1374 FLAG_SET_DEFAULT(ParallelGCThreads, | 1374 FLAG_SET_DEFAULT(ParallelGCThreads, |
1375 Abstract_VM_Version::parallel_worker_threads()); | 1375 Abstract_VM_Version::parallel_worker_threads()); |
1376 } | 1376 } |
1377 no_shared_spaces(); | 1377 no_shared_spaces(); |
1378 | |
1379 // Set the maximum pause time goal to be a reasonable default. | |
1380 if (FLAG_IS_DEFAULT(MaxGCPauseMillis)) { | |
1381 FLAG_SET_DEFAULT(MaxGCPauseMillis, 200); | |
1382 } | |
1383 | 1378 |
1384 if (FLAG_IS_DEFAULT(MarkStackSize)) { | 1379 if (FLAG_IS_DEFAULT(MarkStackSize)) { |
1385 FLAG_SET_DEFAULT(MarkStackSize, 128 * TASKQUEUE_SIZE); | 1380 FLAG_SET_DEFAULT(MarkStackSize, 128 * TASKQUEUE_SIZE); |
1386 } | 1381 } |
1387 if (PrintGCDetails && Verbose) { | 1382 if (PrintGCDetails && Verbose) { |