Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 751:20c6f43950b5
6490395: G1: Tidy up command line flags.
Summary: Change G1 flag names to be more consistent and disable some in 'product' mode.
Reviewed-by: tonyp, iveresov
author | johnc |
---|---|
date | Thu, 30 Apr 2009 15:07:53 -0700 |
parents | be93aad57795 |
children | df6caf649ff7 |
comparison
equal
deleted
inserted
replaced
748:51285b431bb2 | 751:20c6f43950b5 |
---|---|
1286 #endif | 1286 #endif |
1287 FLAG_SET_DEFAULT(ParallelGCThreads, | 1287 FLAG_SET_DEFAULT(ParallelGCThreads, |
1288 Abstract_VM_Version::parallel_worker_threads()); | 1288 Abstract_VM_Version::parallel_worker_threads()); |
1289 if (ParallelGCThreads == 0) { | 1289 if (ParallelGCThreads == 0) { |
1290 FLAG_SET_DEFAULT(ParallelGCThreads, | 1290 FLAG_SET_DEFAULT(ParallelGCThreads, |
1291 Abstract_VM_Version::parallel_worker_threads | 1291 Abstract_VM_Version::parallel_worker_threads()); |
1292 ()); | |
1293 } | 1292 } |
1294 no_shared_spaces(); | 1293 no_shared_spaces(); |
1294 | |
1295 // Set the maximum pause time goal to be a reasonable default. | |
1296 if (FLAG_IS_DEFAULT(MaxGCPauseMillis)) { | |
1297 FLAG_SET_DEFAULT(MaxGCPauseMillis, 200); | |
1298 } | |
1295 } | 1299 } |
1296 | 1300 |
1297 void Arguments::set_server_heap_size() { | 1301 void Arguments::set_server_heap_size() { |
1298 if (FLAG_IS_DEFAULT(MaxHeapSize)) { | 1302 if (FLAG_IS_DEFAULT(MaxHeapSize)) { |
1299 const uint64_t reasonable_fraction = | 1303 const uint64_t reasonable_fraction = |