Reduce synchronization for child strategy access 61/103161/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Nov 2022 18:20:57 +0000 (19:20 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Nov 2022 18:20:57 +0000 (19:20 +0100)
commita8cfdd71d3e7908026cc458e558187d130ed95a9
treed7ee641a3549fc2b0ebb0b269c55965457f5c70d
parent3f3f9e8277d4b463bd3404dad82bd6746b1d4691
Reduce synchronization for child strategy access

We now have a VarHandle here, so we can use getAcquire()/setRelease()
for more relaxed happens-before ordering.

Change-Id: I46e1936cc68ba1ec6205135124e69dfc2d578ca0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-tree-ri/src/main/java/org/opendaylight/yangtools/yang/data/tree/impl/DataNodeContainerModificationStrategy.java