[infinispan-issues] [JBoss JIRA] (ISPN-3714) No need to wrap ClassLoaders in WeakReference in invocationContext implementations
Sanne Grinovero (JIRA)
jira-events at lists.jboss.org
Thu Nov 14 20:13:05 EST 2013
[ https://issues.jboss.org/browse/ISPN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanne Grinovero updated ISPN-3714:
----------------------------------
Issue Type: Bug (was: Enhancement)
> 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: Bug
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> 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
More information about the infinispan-issues
mailing list