On Tue, 26 Sep 2023 20:41:33 GMT, David Holmes <dhol...@openjdk.org> wrote:

>> I'm not seeing that this code has much impact on the failure rate. I've 
>> tried changing the order and also have tried adding a nanosleep(). Always 
>> fails at about the same rate.
>
> Switching the order did not fix the problem.
> 
> Even if we end up resolving that this is just something that can happen when 
> SA inspects things, I'd prefer to understand how this can arise. I guess I 
> need to look into how the SA tries to find the owner.

Yeah, I also haven't seen a good explanation for why this is happening yet. 
I'll also look into SA, but I don't understand the hotspot code it is trying to 
emulate that well so not sure how useful I'll be.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15907#discussion_r1337832556

Reply via email to