In #6025 InMemoryMap.MemoryDataSource was marked as not thread safe. However this class is used by multiple threads. Need to analyze the locking and mutltithreaded usage of this class and make changes to remove the annotation.
Originally posted by @keith-turner in #6025 (comment)