Virtual Threads Deadlock on Trival Tail-Call Recursion

Alan Bateman Alan.Bateman at oracle.com
Wed Jul 31 11:34:14 UTC 2024



On 31/07/2024 11:56, Simon König wrote:
> At the very least, a stack overflow exception should be raised, if 
> this is the true cause of the deadlock.

The submit method returns a Future that can be used to get the result or 
exception, in this case Future::get will reveal the StackOverflowError.

-Alan


More information about the loom-dev mailing list