RFR: 8333891: Method excluded with directive is not compiled after removal of directive

Damon Fenacci dfenacci at openjdk.org
Mon Sep 2 11:31:24 UTC 2024


On Mon, 17 Jun 2024 18:00:54 GMT, Evgeny Astigeevich <eastigeevich at 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


More information about the serviceability-dev mailing list