On Tue, 9 Jun 2026 19:19:50 GMT, Viktor Klang <[email protected]> wrote:

>> Addresses a case where a `null`-value can sneak in to a reference chain and 
>> lead to a live lock. Introduces a regression test which stochastically 
>> reproduces the error.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Viktor Klang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Indentation and comment refinement

Similar code exists in `AbstractQueuedLongSynchronizer` and `StampedLock` as 
well, might be worth fixing and testing.

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

PR Comment: https://git.openjdk.org/jdk/pull/31436#issuecomment-4665644375

Reply via email to