The Fork/Join library introduced in Java 7 extends the existing Java concurrency package with support for hardware parallelism, a key feature of multicore systems. In this Java Tip Madalin Ilie ...
Java 7 introduced a new type of ExecutorService (Java Doc) called Fork/Join Framework (Tutorial), which excels in handling recursive algorithms. Different from other implementations of the ...
One solution would be if you moved the join() 's dependent logic to a new protected method, where the l -> l.await() would be a lambda. Other solution would be adding a compatible join overload ...