On Wed, 12 Jun 2024 20:05:28 GMT, Evgeny Astigeevich <eastigeev...@openjdk.org> 
wrote:

> Test `runtime/BootstrapMethod/BSMCalledTwice.java` might have failed on 
> Windows x64 because of the change.

I managed to reproduce the failure. The test fails because of my change.
There is a data race:

Thread1: cleaning_flag ... setting_flag ... assert
Thread2: cleaning_flag ... setting_flag ... assert


`Thread2` can clean the flag between `Thread1` setting the flag and checking 
the assert.

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

PR Comment: https://git.openjdk.org/jdk/pull/19637#issuecomment-2174007621

Reply via email to