What happens if the thread is reused as part of a thread pool?  Will the old
MDC information still be retained the next time the thread is used?

-Mark

> -----Original Message-----
> From: Ceki G�lc� [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 9:13 AM
> To: Log4J Developers List
> Subject: Re: MDC remove?
> 
> 
> 
> The MDC is a thread local variable. It will be cleaned up 
> when the thread 
> exits.
> 
> At 11:59 16.07.2002 -0400, you wrote:
> >Hi All,
> >
> >Why is there not a method to remove the hashtable created by 
> the put(String,
> >Object)? Would this not lead to empty hashtables lying in 
> the ThreadLocalMap
> >and will this not lead to memory exhaustion? May be I am 
> missing something.
> >Please let me know.
> >
> >Thanks,
> >--Venkat.
> >
> >--
> >To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> --
> Ceki
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to