BUG-1886: eliminate sychronized blocks 26/11226/1
authorRobert Varga <rovarga@cisco.com>
Mon, 15 Sep 2014 13:22:13 +0000 (15:22 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 16 Sep 2014 10:10:52 +0000 (12:10 +0200)
commit66e428b873f427038424051e00d4a09e8918c667
tree6516a456569b6b321f2d8fe2b2bf1069672e48f7
parent173719b3ce9677f36932d41086f7ee987dcb4a50
BUG-1886: eliminate sychronized blocks

The tree state is guarded by the read-write lock, so there is no need
for the additional, overly large, critical section. This allows empty
operations to complete completely lockfree.

Change-Id: Iee01f4745a4927e6dc5093252c15d7d4e3959e9a
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/InMemoryDataTree.java