Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Version 1.0.3
-
None
-
None
Description
XMLBeans class uses thread local variables to store cache of QName objects (QNameCache instance).
In application-server environments where threads are pooled, this causes situation that application using xml-beans library when undeployed is not garbage-collected, because its classloader is reachable from thread local variable.
Possible solution would be to use memory-sensitive techniques using weak or soft references.