RFR: 8297778: Modernize and improve module jdk.sctp [v5]
Per Minborg
pminborg at openjdk.org
Thu Dec 1 14:05:27 UTC 2022
On Thu, 1 Dec 2022 13:05:39 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
> > receiverThread and senderThread are declared volatile but are always accessed (r/w) whilst synchronising on the stateLock.
>
@stsypanov Yes I am aware that this was a separate observation which is not related to the assignment of the variables. I can surely keep them volatile but I wonder why they are volatile in the first place.
-------------
PR: https://git.openjdk.org/jdk/pull/11418
More information about the net-dev
mailing list