Performs the given task, returning its result upon completion. If the
computation encounters an unch
Creates a ForkJoinPool with the given parameters.
Arranges for (asynchronous) execution of the given task.
Tries to create and start a worker; minimally rolls back counts on failure.
If there is a security manager, makes sure caller has permission to modify
Final callback from terminating worker. Removes record of worker from array, and
adjusts counts. If
Returns the targeted parallelism level of this pool.
If inactivating worker w has caused pool to become quiescent, check for pool
termination, and wait f
Returns the approximate (non-atomic) number of idle threads per active thread.
Returns true if all tasks have completed following shut down.
Blocks in accord with the given blocker. If the current thread is a
ForkJoinWorkerThread, this metho
Callback from ForkJoinWorkerThread constructor to assign a public name