Mercurial > hg > graal-jvmci-8
comparison src/share/vm/utilities/taskqueue.cpp @ 541:23673011938d
6787254: Work queue capacity can be increased substantially on some platforms
Summary: 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
author | ysr |
---|---|
date | Fri, 30 Jan 2009 14:17:52 -0800 |
parents | ad8c8ca4ab0f |
children | 05c6d52fa7a9 |
comparison
equal
deleted
inserted
replaced
536:5b39c489c39d | 541:23673011938d |
---|---|
67 | 67 |
68 bool | 68 bool |
69 ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) { | 69 ParallelTaskTerminator::offer_termination(TerminatorTerminator* terminator) { |
70 Atomic::inc(&_offered_termination); | 70 Atomic::inc(&_offered_termination); |
71 | 71 |
72 juint yield_count = 0; | 72 uint yield_count = 0; |
73 while (true) { | 73 while (true) { |
74 if (_offered_termination == _n_threads) { | 74 if (_offered_termination == _n_threads) { |
75 //inner_termination_loop(); | 75 //inner_termination_loop(); |
76 return true; | 76 return true; |
77 } else { | 77 } else { |