[concurrency-interest] Java 8 CompletableFuture.thenCombine() hangs

Doug Lea dl at cs.oswego.edu
Thu Apr 3 07:08:20 EDT 2014

On 04/03/2014 04:28 AM, Paul Sandoz wrote:

> It appears to be caused by a StackOverflowException being thrown when an
> async task attempts to complete all its dependent tasks in the completion
> chain. That exception gets swallowed and does not propagate.

Thanks! I'll look into ways of ensuring that StackOverflowException,
OutOfMemoryError, and the like at least get reported. These have
a history of being difficult to deal with, but we can surely do


More information about the Concurrency-interest mailing list