773 |
|
} |
774 |
|
|
775 |
|
/** |
776 |
< |
* Factory for CommonPool unless overridded by System |
777 |
< |
* property. Creates InnocuousForkJoinWorkerThreads if a security |
778 |
< |
* manager is present at time of invocation. Support requires that |
779 |
< |
* we break quite a lot of encapsulation (some via helper methods |
780 |
< |
* in ThreadLocalRandom) to access and set Thread fields. |
776 |
> |
* Factory for CommonPool unless overridden by System property. |
777 |
> |
* Creates InnocuousForkJoinWorkerThreads if a security manager is |
778 |
> |
* present at time of invocation. Support requires that we break |
779 |
> |
* quite a lot of encapsulation (some via helper methods in |
780 |
> |
* ThreadLocalRandom) to access and set Thread fields. |
781 |
|
*/ |
782 |
|
static final class DefaultCommonPoolForkJoinWorkerThreadFactory |
783 |
|
implements ForkJoinWorkerThreadFactory { |