[jboss-jira] [JBoss JIRA] (JBJCA-1393) TransactionConnectionListener invocation to toString in trace should be guarded by a isTraceEnabled check

Flavia Rainone (Jira) issues at jboss.org
Fri Aug 16 16:10:00 EDT 2019


     [ https://issues.jboss.org/browse/JBJCA-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavia Rainone updated JBJCA-1393:
----------------------------------
    Fix Version/s:     (was: 2.0.0.CR1)


> TransactionConnectionListener invocation to toString in trace should be guarded by a isTraceEnabled check
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBJCA-1393
>                 URL: https://issues.jboss.org/browse/JBJCA-1393
>             Project: IronJacamar
>          Issue Type: Enhancement
>          Components: Core
>            Reporter: Flavia Rainone
>            Assignee: Sanne GRINOVERO
>            Priority: Major
>
> We should check if trace is enabled before invoking trace with toString() as a parameter, to prevent the extra performance cost of toString.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list