On Mon, 17 Jun 2024 18:00:54 GMT, Evgeny Astigeevich <eastigeev...@openjdk.org> wrote:
>> Test `runtime/BootstrapMethod/BSMCalledTwice.java` might have failed on >> Windows x64 because of the change. > >> 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. @eastig are you still working on this? Do you want to reopen it? ------------- PR Comment: https://git.openjdk.org/jdk/pull/19637#issuecomment-2324509876