6787254: Work queue capacity can be increased substantially on some platforms

Increased the default and maximum size of the CMS marking stack and the size of the parallel workers' work queues in 64-bit mode. The latter was accomplished by an increase in the width of the Taskqueue's Age struct and its Tag field in 64-bit mode.

Reviewed-by: jmasa, tonyp
This commit is contained in:
Y. Srinivas Ramakrishna 2009-01-30 14:17:52 -08:00
parent 34b247f068
commit d981bd442b
3 changed files with 84 additions and 76 deletions

View file

@ -69,7 +69,7 @@ bool
ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) {
Atomic::inc(&_offered_termination);
juint yield_count = 0;
uint yield_count = 0;
while (true) {
if (_offered_termination == _n_threads) {
//inner_termination_loop();