Use a TrieMap as the ConcurrentMap implementation 22/22022/1
authorRobert Varga <rovarga@cisco.com>
Sat, 6 Jun 2015 01:44:24 +0000 (03:44 +0200)
committerRobert Varga <rovarga@cisco.com>
Sat, 6 Jun 2015 01:46:54 +0000 (03:46 +0200)
commit5faeb7ea76404e4da3620e63432b6038800d4de7
treeb246d2163cd42207b70ae62c4f699c8bda52f1df
parentf355ec96d1d7c99038650839c133db0aff8b043c
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>
openflowplugin-impl/pom.xml
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/registry/flow/DeviceFlowRegistryImpl.java