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.165 by dl, Thu Dec 20 17:14:39 2012 UTC vs.
Revision 1.167 by jsr166, Sun Dec 30 02:05:53 2012 UTC

# Line 1087 | Line 1087 | public class ForkJoinPool extends Abstra
1087      private static int poolNumberSequence;
1088  
1089      /**
1090 <     * Return the next sequence number. We don't expect this to
1091 <     * ever contend so use simple builtin sync.
1090 >     * Returns the next sequence number. We don't expect this to
1091 >     * ever contend, so use simple builtin sync.
1092       */
1093      private static final synchronized int nextPoolId() {
1094          return ++poolNumberSequence;
# Line 1661 | Line 1661 | public class ForkJoinPool extends Abstra
1661       * park awaiting signal, else lingering to help scan and signal.
1662       *
1663       * * If a non-empty queue discovered or left as a hint,
1664 <     * help wake up other workers before return
1664 >     * help wake up other workers before return.
1665       *
1666       * @param w the worker (via its WorkQueue)
1667       * @return a task or null if none found

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines