On Thu, 18 Jun 2026 23:33:31 GMT, Man Cao <[email protected]> wrote:

> Hi all,
> 
> Could anyone review this change contributed by colleague Liz Looney 
> <[email protected]>, that fixes a long-standing data race on 
> `com.sun.tools.jdi.VirtualMachineImpl.shutdown`?
> 
> -Man
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Is it better to rewrite with some synchronization mechanism like 
`CountDownLatch` rather than `volatile boolean`?

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

PR Comment: https://git.openjdk.org/jdk/pull/31582#issuecomment-4747083215

Reply via email to