On Wed, 2 Dec 2026 07:51:31 GMT, Alan Bateman <[email protected]> wrote:
> Test only change to fix a race in testThreadContainer where > SynchronousQueue::put consumes the parking permit that the main thread makes > available. The test is changed to use a CompletableFuture so that the main > thread waits. testStructuredTaskScopeJoin is updated to do the same. This > test doesn't have an issue but it keeps the hand offs in the two tests the > same. In passing, improved the robustness of testWaitingThread. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: b1c64fc9 Author: Alan Bateman <[email protected]> URL: https://git.openjdk.org/jdk/commit/b1c64fc91f1616acc3e69eb3111d4b0cee2ec141 Stats: 25 lines in 1 file changed: 6 ins; 7 del; 12 mod 8398672: com/sun/management/HotSpotDiagnosticMXBean/DumpThreads.java timed out Reviewed-by: sspitsyn, cjplummer ------------- PR: https://git.openjdk.org/jdk/pull/34179
