we could also change this to use a `JConcurrentMapWrapper`, and then we could use `getOrElseUpdate` below