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.161 by jsr166, Wed Feb 13 18:30:47 2013 UTC vs.
Revision 1.162 by jsr166, Sat Feb 16 16:24:46 2013 UTC

# Line 101 | Line 101 | import java.util.concurrent.TimeUnit;
101   *
102   * <p>The common pool is by default constructed with default
103   * parameters, but these may be controlled by setting three
104 < * {@linkplain System#getProperty system properties} with prefix
105 < * {@code "java.util.concurrent.ForkJoinPool.common."}:
106 < * {@code parallelism} -- a non-negative integer,
107 < * {@code threadFactory} -- the class name of a
108 < * {@link ForkJoinWorkerThreadFactory}, and
109 < * {@code exceptionHandler} --
110 < * the class name of a {@link UncaughtExceptionHandler}.
104 > * {@linkplain System#getProperty system properties}:
105 > * <ul>
106 > * <li>{@code java.util.concurrent.ForkJoinPool.common.parallelism}
107 > * - the parallelism level, a non-negative integer
108 > * <li>{@code java.util.concurrent.ForkJoinPool.common.threadFactory}
109 > * - the class name of a {@link ForkJoinWorkerThreadFactory}
110 > * <li>{@code java.util.concurrent.ForkJoinPool.common.exceptionHandler}
111 > * - the class name of a {@link UncaughtExceptionHandler}
112 > * </ul>
113   * Upon any error in establishing these settings, default parameters
114   * are used. It is possible to disable or limit the use of threads in
115   * the common pool by setting the parallelism property to zero, and/or

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines