On Tue, 11 Jul 2023 17:03:26 GMT, Alan Bateman <al...@openjdk.org> wrote:

> StructuredTaskScope.shutdown can sometimes not interrupt the thread for a 
> newly forked subtask, leading to join blocking until subtask completes. The 
> "hang" can be duplicated with a stress test that shuts down the scope while a 
> long running subtask is being forked. The bug is in the underlying thread 
> flock code where it filters the threads to just the live threads and so 
> filters out new/unstarted threads, that filtering was left over from some 
> refactoring in the loom repo a long time ago and should have been removed.

Marked as reviewed by jpai (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/14833#pullrequestreview-1526191301

Reply via email to