Sanne Grinovero created ISPN-3714:
-------------------------------------
Summary: No need to wrap ClassLoaders in WeakReference in invocationContext
implementations
Key: ISPN-3714
URL:
https://issues.jboss.org/browse/ISPN-3714
Project: Infinispan
Issue Type: Enhancement
Reporter: Sanne Grinovero
Assignee: Mircea Markus
Fix For: 6.0.0.CR2, 6.0.0.Final
AbstractInvocationContext is having a reference to the ClassLoader but uses a weak
reference.
Besides not being needed and being an unnecessary object allocation, I think it could also
be dangerous if the CL "vanishes" during an in-flight operation which should be
using it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira