Make InMemoryDOMDataStore.ready() unsynchronized 09/10209/1
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)
commit34d0ab32d82e48549b67ef1b0410bef603982738
treeae10bd2ae74ff08927822cf44791c78f9e130d5c
parent1b41def30b66456bdf9ccbcb295f258ef3129707
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