Philippe Marschall created JBLOGGING-100:
--------------------------------------------
Summary: JBossLogManagerLogger unconditionally does string conversion
Key: JBLOGGING-100
URL:
https://issues.jboss.org/browse/JBLOGGING-100
Project: JBoss Logging
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: jboss-logging-logmanager
Affects Versions: 3.1.3.GA
Reporter: Philippe Marschall
Assignee: James Perkins
{{JBossLogManagerLogger#doLog}} always converts the message to a String even if the level
isn't loggable. This can have a negative performance impact and result in a lot of
unnecessary allocations.
For example {{LogAuditProvider#audit}} does trace logging which ends up calling
{{AuditEvent#toString}} even if trace logging isn't enabled. In our case this results
in a lot of allocations outside of TLABs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira