RFR: 8286294 : ForkJoinPool.commonPool().close() spins [v2]

Doug Lea dl at openjdk.java.net
Fri May 6 23:01:40 UTC 2022


On Fri, 6 May 2022 21:46:58 GMT, Martin Buchholz <martin at openjdk.org> wrote:

>> --- a/test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java
>> +++ b/test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java
>> @@ -55,7 +55,7 @@ public class ForkJoinPool19Test extends JSR166TestCase {
>>      }
>>  
>>      public static Test suite() {
>> -        return new TestSuite(ForkJoinPool8Test.class);
>> +        return new TestSuite(ForkJoinPool19Test.class);
>>      }
>>  
>>      /**
>
> testLazySubmit will cause jtreg to start hanging.
> If you wait patiently for 1000 seconds, you'll get a stack dump.

Thanks; now fixed (and enabled). (The test didn't do what doc said about joined "by a worker")

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

PR: https://git.openjdk.java.net/jdk/pull/8577


More information about the core-libs-dev mailing list