On Wed, 12 Jul 2023 11:47:45 GMT, Jaikiran Pai <j...@openjdk.org> wrote:
> As for the 15 "afterShutdown" forks() that follow, they would already notice > that the scope is shutdown and won't start the new threads. > Did I misunderstand this test? The test arranges for a subtask to do shutdown, it's not done by the main task. That setups up the conditions for the shutdown to race with the subsequent forking done by the main task. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14833#discussion_r1261069364