BUG-3157: performance tuning - Use a TrieMap as the ConcurrentMap implementation 54/22354/2
authorRobert Varga <rovarga@cisco.com>
Sat, 6 Jun 2015 01:44:24 +0000 (03:44 +0200)
committermichal rehak <mirehak@cisco.com>
Thu, 11 Jun 2015 12:01:42 +0000 (12:01 +0000)
commit19b54659b3203557c9ae55e51d05598cdf57f71d
tree7e6e4054ec631b055ed9b7ef14ce2d83df9d5cf9
parent1472568312ac34713dcf15b44eac64d49fbbc5db
BUG-3157: performance tuning - Use a TrieMap as the ConcurrentMap implementation

TrieMap is space-optimized and has a high fanout, which means it will
reclaim space when not needed and has shallower structure than a
ConcurrentHashMap. It also re-hashes automatically and concurrently.

Change-Id: I1e40dbb5588c1e42475e12d73f7cadf46b909594
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit 5faeb7ea76404e4da3620e63432b6038800d4de7)
openflowplugin-impl/pom.xml
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/registry/flow/DeviceFlowRegistryImpl.java