[JBTM-2203] jespers-perf-improvements

!BLACKTIE !QA_JTA !QA_JTS_JACORB !XTS
we didn't check for null before, was that a bug? and how come we don't need the synchronized (this)