# | Line 1248 | Line 1248 | public class ForkJoinPool extends Abstra | |
---|---|---|
1248 | /* | |
1249 | * Acquires the plock lock to protect worker array and related | |
1250 | * updates. This method is called only if an initial CAS on plock | |
1251 | < | * fails. This acts as a spinLock for normal cases, but falls back |
1251 | > | * fails. This acts as a spinlock for normal cases, but falls back |
1252 | * to builtin monitor to block when (rarely) needed. This would be | |
1253 | * a terrible idea for a highly contended lock, but works fine as | |
1254 | * a more conservative alternative to a pure spinlock. |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |