RFR: 8308310: HttpClient: Avoid logging or locking from within synchronized blocks [v2]
    Daniel Fuchs 
    dfuchs at openjdk.org
       
    Thu May 18 14:49:15 UTC 2023
    
    
  
On Thu, 18 May 2023 13:58:08 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
>> I prefer to keep AtomicReference - it's easier to reason about.
>> Maybe at some time I'll do a pass to use VarHandles in various places but now is not the time.
>
> let's make it `final` at least
Oops! Thanks for noticing that. That's a bug. Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14038#discussion_r1197916100
    
    
More information about the net-dev
mailing list