Use a weak reference for the cached class loader (#71)
This replaces the strong reference to the class loader, `thisClassLoader`, with a weak one. The strong ref shows up as causing a GC root after unloading a web app in Tomcat that uses this library. With these modifications, the GC root is gone...
This commit is contained in:
committed by
GitHub
parent
9466284235
commit
e7b328d7e0
@@ -100,7 +100,7 @@
|
||||
<property name="component.title" value="Logging Wrapper Library"/>
|
||||
|
||||
<!-- The current version number of this component -->
|
||||
<property name="component.version" value="1.1.1-SNAPSHOT"/>
|
||||
<property name="component.version" value="1.2.1-SNAPSHOT"/>
|
||||
|
||||
<!-- The base directory for compilation targets -->
|
||||
<property name="build.home" value="${basedir}/target"/>
|
||||
|
||||
Reference in New Issue
Block a user