You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/11/01 11:18:22 UTC
[Bug 66330] New: StandardContext.skipMemoryLeakChecksOnJvmShutdown has no effect
https://bz.apache.org/bugzilla/show_bug.cgi?id=66330
Bug ID: 66330
Summary: StandardContext.skipMemoryLeakChecksOnJvmShutdown has
no effect
Product: Tomcat 10
Version: 10.1.1
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: thomas.steger.ch@gmail.com
Target Milestone: ------
If the StandardContext property 'skipMemoryLeakChecksOnJvmShutdown' is set to
true, one expects, that the memory leak check done by 'WebappClassLoaderBase.
clearReferences' will be skipped. This ist not the case.
The cause seems to be the missing mapping of the
'skipMemoryLeakChecksOnJvmShutdown' property from the context to the
classLoader ( StandardContext.startInternal()).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66330] StandardContext.skipMemoryLeakChecksOnJvmShutdown has no effect
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66330
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Confirmed this behaviour is a bug.
Original feature added for bug 50175
http://svn.apache.org/viewvc?rev=1831618&view=rev
Feature broken by accident when implementing bug 62897
http://svn.apache.org/viewvc?rev=1846236&view=rev
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66330] StandardContext.skipMemoryLeakChecksOnJvmShutdown has no effect
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66330
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report.
The root cause analysis looks right to me. I have the patch ready to commit to
fix this. I just want to double check the archives to make sure there isn't a
good reason for the current behaviour.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 66330] StandardContext.skipMemoryLeakChecksOnJvmShutdown has no effect
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66330
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Fixed in:
- 10.1.x for 10.1.2 onwards
- 9.0.x for 9.0.69 onwards
- 8.5.x for 8.5.84 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org