Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3714

No need to wrap ClassLoaders in WeakReference in invocationContext implementations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 6.0.0.Final
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: