The ScalaDoc says this about concurrentMap: \"Deprecated (Since version 2.10.0) Use scala.collection.concurrent.Map instead.\" Unfortunately, the rest of the Scala
scala.collection.concurrent.Map
Unless you want to implement a concurrent mutable hash map yourself, you have to use scala.collection.concurrent.TrieMap.
scala.collection.concurrent.TrieMap