Make InMemoryDOMDataStore.ready() unsynchronized
authorRobert Varga <rovarga@cisco.com>
Sat, 23 Aug 2014 21:01:47 +0000 (23:01 +0200)
committerRobert Varga <rovarga@cisco.com>
Sat, 23 Aug 2014 21:01:47 +0000 (23:01 +0200)
commit986b8bfb373737751ab244952fab127fce824478
tree5a9058f102a225f3b88c67d3418c984afaf8287d
parent9c0266772bb278c1ad3a7949bb5bbd0337660c8b
Make InMemoryDOMDataStore.ready() unsynchronized

Tracing datastore operations has revealed some contention on the
datastore, specifically when users call WriteTransaction.ready(). It
seems this method does not need synchronization at all, as it is not
directly changing any state.

Change-Id: I635f6a925694e4b68e629978fbd535fedb3a6cd6
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-inmemory-datastore/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/InMemoryDOMDataStore.java