What is the low-level difference among using:
ForkJoinPool = new ForkJoinPool(X);
and
ExecutorService ex = Executors.neWorkStea
It's only a abstraction for the Fork/Join Framework...
/**
* Creates a work-stealing thread pool using all
* {@link Runtime#availableProcessors available processors}
* as its target parallelism level.
* @return the newly created thread pool
* @see #newWorkStealingPool(int)
* @since 1.8
*/
public static ExecutorService newWorkStealingPool() {
return new ForkJoinPool(Runtime.getRuntime().availableProcessors(),
ForkJoinPool.defaultForkJoinWorkerThreadFactory,
null, true);
}