On Fri, 4 Nov 2022 14:13:42 GMT, Alan Bateman <al...@openjdk.org> wrote:
> java/util/concurrent/forkjoin/AsyncShutdownNow.java takes ~40s as each test > uses a delay of 5s before it invokes shutdownNow. The test will run in <1s if > changed to poll the thread state and invoke shutdownNow when the thread waits. > > The update temporarily disables testInvokeAny because of a suspected issue > doing shutdown at around the same that worker threads are spinning up. It > duplicates more frequently (on Windows at least) with the updated test. > JDK-8286352 and JDK-8288899 are two bugs on this issue. Doug Lea is looking > into the issue. The test can be re-enabled when that issue is resolved. This pull request has now been integrated. Changeset: 636040f8 Author: Alan Bateman <al...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/636040f8753e3610193e594605ff1adef5c049ed Stats: 108 lines in 1 file changed: 50 ins; 41 del; 17 mod 8296405: java/util/concurrent/forkjoin/AsyncShutdownNow.java is too slow Reviewed-by: jpai ------------- PR: https://git.openjdk.org/jdk/pull/10986