ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166y/ForkJoinPool.java
(Generate patch)

Comparing jsr166/src/jsr166y/ForkJoinPool.java (file contents):
Revision 1.173 by jsr166, Wed Jan 9 02:51:37 2013 UTC vs.
Revision 1.174 by jsr166, Sun Jan 13 21:56:12 2013 UTC

# 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.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines