fix NPE [^Ann]
(cherry picked from commit 403f9a5)
switching to java.util.ConcurrentHashMap in jps code; eliminate unneeded map queries