This PR proposes to fix a race where `release.countDown()` previously could win before the interrupt is observed
--------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Fix race Changes: https://git.openjdk.org/jdk/pull/31187/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31187&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8384648 Stats: 10 lines in 1 file changed: 7 ins; 1 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/31187.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31187/head:pull/31187 PR: https://git.openjdk.org/jdk/pull/31187
