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

No need to wrap ClassLoaders in WeakReference in invocationContext implementations

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              sgrinove Sanne Grinovero (Inactive)
              sgrinove Sanne Grinovero (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: