ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ForkJoinWorkerThread.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ForkJoinWorkerThread.java (file contents):
Revision 1.11 by dl, Sun Nov 15 12:26:48 2009 UTC vs.
Revision 1.12 by jsr166, Mon Nov 16 02:44:13 2009 UTC

# Line 787 | Line 787 | public class ForkJoinWorkerThread extend
787           * apply transiently, so cheapen this by (a) not bothering to
788           * weight at all unless there is more than one queued task (b)
789           * rather than compensating by a factor of (#idle/#active)
790 <         * threads, we just substract out a function of #idle that is
790 >         * threads, we just subtract out a function of #idle that is
791           * a good enough approximation for conditions near the
792           * borderlines for threshold testing.  This errs in the
793           * direction of reporting more extreme lack of surplus (as in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines