-
Bug
-
Resolution: Done
-
Minor
-
EAP_EWP 5.2.0 ER2
-
Low
-
Not Required
There is a potential performance problem in class org.hornetq.jms.server.recovery.HornetQXAResourceWrapper. There are debug log messages in commit, rollback, etc. without any check if debug log level is enabled. Messages are represented as concatenation of several strings.
Each debug log message should be encapsulated by check if debug logging level is enabled. Especially when method uses string concatenation in message content.
... XAResource xaResource = getDelegate(true); HornetQXAResourceWrapper.log.debug("Commit " + xaResource + " xid " + " onePhase=" + onePhase); try { ...