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.356 by jsr166, Fri Jan 17 18:25:56 2020 UTC vs.
Revision 1.357 by jsr166, Fri Jan 17 18:43:10 2020 UTC

# Line 609 | Line 609 | public class ForkJoinPool extends Abstra
609       * ForkJoinPool and WorkQueues and their queue arrays. To reduce
610       * false-sharing impact, the @Contended annotation isolates the
611       * ForkJoinPool.ctl field as well as the most heavily written
612 <     * WorkQueue fields. These mainy reduce cache traffic by scanners.
612 >     * WorkQueue fields. These mainly reduce cache traffic by scanners.
613       * WorkQueue arrays are presized large enough to avoid resizing
614       * (which transiently reduces throughput) in most tree-like
615       * computations, although not in some streaming usages. Initial
# Line 670 | Line 670 | public class ForkJoinPool extends Abstra
670       * * ForkJoinTask now uses field "aux" to support blocking joins
671       *   and/or record exceptions, replacing reliance on builtin
672       *   monitors and side tables.
673 <     * * Scans probe slots (vs compare indices), alonmg with related
673 >     * * Scans probe slots (vs compare indices), along with related
674       *   changes that reduce performance differences across most
675       *   garbage collectors, and reduces contention.
676       * * Refactoring for better integration of special task types and
# Line 2561 | Line 2561 | public class ForkJoinPool extends Abstra
2561  
2562          /**
2563           * Creates, records, and forks a BulkTask for each Callable;
2564 <         * returns the array, with first element root task (if noneepty)
2564 >         * returns the array, with first element root task (if nonempty)
2565           */
2566          static <T> BulkTask<T>[] forkAll(Collection<? extends Callable<T>> cs,
2567                                           boolean invokeAny) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines