[infinispan-issues] [JBoss JIRA] (ISPN-3714) No need to wrap ClassLoaders in WeakReference in invocationContext implementations

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Fri Nov 15 03:32:06 EST 2013


     [ https://issues.jboss.org/browse/ISPN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-3714:
-----------------------------------

        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

    
> 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
>            Priority: Minor
>             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