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

No need to wrap ClassLoaders in WeakReference in invocationContext implementations

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.Final
    • Component/s: None
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                sannegrinovero Sanne Grinovero
                Reporter:
                sannegrinovero Sanne Grinovero
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: