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 |