[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: log.isTraceEnabled() and performance
clebert.suconic@jboss.com
do-not-reply at jboss.com
Tue May 13 19:59:27 EDT 2008
That's terrible.
You would be doing lots of string concatenations to just throw them away on the limbo of the Garbage Collection.
Example:
log.trace("This is a concatenation of " + myObject + " with anthing such as = " + anInteger + " just to show how dumb strings are");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150558#4150558
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150558
More information about the jboss-dev-forums
mailing list