Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3485

memory leak in ClassInfo#LocalMap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6.2, 1.7-beta-1
    • None
    • None

    Description

      ClassInfo#LocalMap has a strong reference to a Thread, that is at the same time used for the map thread local manages. The key is weak referenced there, but cannot be collected, because the map value, the LocalMap has a strong reference to the thread. So a WeakReference or PhantomReference should be used instead for the thread reference

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: