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.332 by jsr166, Tue Jan 31 21:55:36 2017 UTC vs.
Revision 1.333 by jsr166, Fri Feb 3 20:21:47 2017 UTC

# Line 104 | Line 104 | import java.util.concurrent.locks.LockSu
104   *  </tr>
105   * </table>
106   *
107 < * <p>The common pool is by default constructed with default
108 < * parameters, but these may be controlled by setting the following
109 < * {@linkplain System#getProperty system properties}:
107 > * <p>The parameters used to construct the common pool may be controlled by
108 > * setting the following {@linkplain System#getProperty system properties}:
109   * <ul>
110   * <li>{@code java.util.concurrent.ForkJoinPool.common.parallelism}
111   * - the parallelism level, a non-negative integer
# Line 122 | Line 121 | import java.util.concurrent.locks.LockSu
121   * - the maximum number of allowed extra threads to maintain target
122   * parallelism (default 256).
123   * </ul>
124 < * If a {@link SecurityManager} is present and no factory is specified,
125 < * then the default pool uses a factory supplying threads that have no
127 < * {@link Permissions} enabled, and uses the system class loader as the
124 > * If no thread factory is supplied via a system property, then the
125 > * common pool uses a factory that uses the system class loader as the
126   * {@linkplain Thread#getContextClassLoader() thread context class loader}.
127 + * In addition, if a {@link SecurityManager} is present, then
128 + * the common pool uses a factory supplying threads that have no
129 + * {@link Permissions} enabled.
130   *
131   * Upon any error in establishing these settings, default parameters
132   * are used. It is possible to disable or limit the use of threads in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines