mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
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:
parent
34b247f068
commit
d981bd442b
3 changed files with 84 additions and 76 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue