RFR: 8373409: java/net/httpclient/http3/H3ErrorHandlingTest.java failed due to deadlock
Daniel Fuchs
dfuchs at openjdk.org
Mon Dec 15 09:37:33 UTC 2025
On Fri, 12 Dec 2025 12:37:10 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> 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.
>
> EDIT - checked the `AltServiceRegistry`; `compute` is only used on a (non-concurrent) HashMap while holding a lock, and the lambdas only use functions internal to the registry. This should be fine as well.
Thanks for checking the other uses of `CHM.compute` @djelinski !
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28788#issuecomment-3654660513
More information about the net-dev
mailing list