Re: ForkJoinPool deadlock - bug?

Doug Lea via Concurrency-interest <[email protected]> Wed, 21 Oct 2020 11:44:10 -0400
Newsgroups gmane.comp.java.jsr.166-concurrency
Message-ID <[email protected]>
Thanks for the report. It appears to be a bug. I'll further investigate.

On 10/21/20 10:52 AM, Matthias Schmalz via Concurrency-interest wrote:
> Dear experts,
>
> We are using ForkJoinPool as part of a software project. In our 
> integration tests, we occasionally observe deadlocks with the 
> following characteristics:
> - The ForkJoinPool stops executing new tasks.
> - All worker threads are waiting inside of ForkJoinPool.managedBlock.
> - The number of running threads is 0, the number of active threads is 1.
>
> After increasing the "parallelism" parameter, the problem still 
> occurred. Increasing the "minimumRunnable" parameter from 1 to 2 made 
> the problem disappear. So we have a workaround for the moment.
_______________________________________________
Concurrency-interest mailing list
[email protected]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest