geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Blewitt <>
Subject Re: Logging code and Garbage Collection
Date Tue, 12 Aug 2003 23:40:51 GMT
> It is still worth it - I was being lazy here (fixed now) :-)
> I would recommend caching the log level somewhere rather than calling
> isDebugEnabled() for every request - I've seen some profiles where the 
> time
> in isTraceEnabled() was significant.

Should this be a big problem if the isDebugEnabled() is marked as 
final? If it is, then it should be inlineable by a decent JIT.


View raw message