[JBTM-2203] jespers-perf-improvements

!BLACKTIE !QA_JTA !QA_JTS_JACORB !XTS
He's using ConcurrentHashMap now.
The null check is because his new _resources map isn't initialised in one of the constructors.