logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elias Ross <er...@m-qube.com>
Subject RE: NDC.remove() and throughput in J2EE
Date Thu, 12 Feb 2004 19:31:52 GMT
On Thu, 2004-02-12 at 07:12, zze-ironman LIGNE E ext DvSI/SIReS/GRE
> Just modified NDC so as it uses a ThreadLocal as ht instead of a
> Hashtable
> with the threads as keys. This acts functionally equivalent, but no 
> longer need for lazy-references removal (lazyRemove method) as
> ThreadLocals
> are garbaged when threads are terminated.
> do you feel it correct ?

Since ThreadLocal is not available in Java 1.1, I guess the log4j
developers decided to make their own work around.  If Java 1.1 support
is being dropped for 1.3, then this change would be ideal.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message