| 164 |
static final int maxTimedSpins = (NCPUS < 2)? 0 : 32; |
static final int maxTimedSpins = (NCPUS < 2)? 0 : 32; |
| 165 |
|
|
| 166 |
/** |
/** |
| 167 |
* The number of times to spin before blocking in untimed |
* The number of times to spin before blocking in untimed waits. |
| 168 |
* waits. This is greater than timed value because untimed |
* This is greater than timed value because untimed waits spin |
| 169 |
* waits spin faster since they don't need to check times on |
* faster since they don't need to check times on each spin. |
|
* each spin. |
|
| 170 |
*/ |
*/ |
| 171 |
static final int maxUntimedSpins = maxTimedSpins * 16; |
static final int maxUntimedSpins = maxTimedSpins * 16; |
| 172 |
|
|