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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.25 by jsr166, Wed Sep 1 03:32:03 2010 UTC vs.
Revision 1.26 by jsr166, Wed Sep 1 05:20:40 2010 UTC

# Line 155 | Line 155 | public class ForkJoinPool extends Abstra
155       *      links to try to find such a task.
156       *
157       *   Compensating: Unless there are already enough live threads,
158 <     *      method helpMaintainParallelism() may create or or
158 >     *      method helpMaintainParallelism() may create or
159       *      re-activate a spare thread to compensate for blocked
160       *      joiners until they unblock.
161       *
# Line 316 | Line 316 | public class ForkJoinPool extends Abstra
316       * exactly #parallelism threads running, which is an impossible
317       * task. We always need to create one when the number of running
318       * threads would become zero and all workers are busy. Beyond
319 <     * this, we must rely on heuristics that work well in the the
320 <     * presence of transients phenomena such as GC stalls, dynamic
319 >     * this, we must rely on heuristics that work well in the
320 >     * presence of transient phenomena such as GC stalls, dynamic
321       * compilation, and wake-up lags. These transients are extremely
322       * common -- we are normally trying to fully saturate the CPUs on
323       * a machine, so almost any activity other than running tasks

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines