ASF Bugzilla – Attachment 25170 Details for
Bug 48971
memory leak protection : stopping TimeThreads should be optional and disabled by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch for tomcat 7
patch tomcat 7 do not stop TimerThread by default.txt (text/plain), 1.38 KB, created by
Sylvain Laurent
on 2010-03-24 05:32:39 UTC
(
hide
)
Description:
patch for tomcat 7
Filename:
MIME Type:
Creator:
Sylvain Laurent
Created:
2010-03-24 05:32:39 UTC
Size:
1.38 KB
patch
obsolete
>Index: java/org/apache/catalina/loader/WebappClassLoader.java >=================================================================== >--- java/org/apache/catalina/loader/WebappClassLoader.java (revision 923975) >+++ java/org/apache/catalina/loader/WebappClassLoader.java (working copy) >@@ -2038,13 +2038,6 @@ > continue; > } > >- // TimerThread is not normally visible >- if (thread.getClass().getName().equals( >- "java.util.TimerThread")) { >- clearReferencesStopTimerThread(thread); >- continue; >- } >- > log.error(sm.getString("webappClassLoader.warnThread", > contextName, thread.getName())); > >@@ -2054,6 +2047,13 @@ > continue; > } > >+ // TimerThread is not normally visible >+ if (thread.getClass().getName().equals( >+ "java.util.TimerThread")) { >+ clearReferencesStopTimerThread(thread); >+ continue; >+ } >+ > // If the thread has been started via an executor, try > // shutting down the executor > try {
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 Raw
Actions:
View
Attachments on
bug 48971
: 25170 |
25203