ASF Bugzilla – Attachment 28091 Details for
Bug 50486
Memoryleak - org.apache.log4j.helpers.ThreadLocalMap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
submit a patch for memory leak in application server
MDC.java.patch (text/plain), 483 bytes, created by
Yingchun Chen
on 2011-12-20 15:03:20 UTC
(
hide
)
Description:
submit a patch for memory leak in application server
Filename:
MIME Type:
Creator:
Yingchun Chen
Created:
2011-12-20 15:03:20 UTC
Size:
483 bytes
patch
obsolete
>Index: src/main/java/org/apache/log4j/MDC.java >=================================================================== >--- src/main/java/org/apache/log4j/MDC.java (revision 1221289) >+++ src/main/java/org/apache/log4j/MDC.java (working copy) >@@ -180,7 +180,9 @@ > Hashtable ht = (Hashtable) ((ThreadLocalMap)tlm).get(); > if(ht != null) { > ht.clear(); >- } >+ } >+ // clear the thread local map >+ ((ThreadLocalMap)tlm).remove(); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50486
: 28091 |
28436