Improve concurrent behavior of HornetqJournalStore
--------------------------------------------------
Key: JBTM-2618
URL:
https://issues.jboss.org/browse/JBTM-2618
Project: JBoss Transaction Manager
Issue Type: Enhancement
Reporter: Luis Barreiro
Fix For: 5.2.14.Final
Remove existing synchronized block and also make better usage of concurrent data
structures already present in the code.
When there is a high number of threads, some will be block reducing the overall
throughput and increasing response times on the whole system.