common pool

The JVM-wide shared thread pool that parallel streams and CompletableFuture use by default when you do not supply an executor.

In more detail

By default it has one thread fewer than the number of processor cores, which suits short computations. Blocking tasks on it starve every other user of the pool, so give blocking work its own executor.

Related terms

Taught in

References

Certification courses