On Fri, 12 Dec 2025 12:31:07 GMT, Daniel Jeliński <[email protected]> wrote:

> This PR fixes a deadlock between the `localConnectionIdManager` and the 
> `connections` map by closing the manager before calling `connections.compute`.
> 
> No new tests; the issue requires a complex setup to reproduce, and the new 
> code is easy enough to reason about. Existing tests continue to pass.

I checked all other uses of `CHM.compute` in the `java.net.http` module; most 
of them are trivially correct. The ones in `AltServiceRegistry` are not 
trivial, and might need to be replaced with something easier to reason about. 
I'll look into that.

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

PR Comment: https://git.openjdk.org/jdk/pull/28788#issuecomment-3646319986

Reply via email to