907 |
|
* or any other cancelled task. Returns (true) on any CAS |
908 |
|
* or consistency check failure so caller can retry. |
909 |
|
* |
910 |
< |
* @return false if no progress can be made, else true; |
910 |
> |
* @return false if no progress can be made, else true |
911 |
|
*/ |
912 |
|
final boolean tryRemoveAndExec(ForkJoinTask<?> task) { |
913 |
|
boolean stat = true, removed = false, empty = true; |
2185 |
|
* producing extra tasks amortizes the uncertainty of progress and |
2186 |
|
* diffusion assumptions. |
2187 |
|
* |
2188 |
< |
* So, users will want to use values larger, but not much larger |
2188 |
> |
* So, users will want to use values larger (but not much larger) |
2189 |
|
* than 1 to both smooth over transient shortages and hedge |
2190 |
|
* against uneven progress; as traded off against the cost of |
2191 |
|
* extra task overhead. We leave the user to pick a threshold |