Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8148417

Memory leak in javadoc DocFileFactory

XMLWordPrintable

    • b104
    • Not verified

      DocFileFactory contains a WeakHashMap to get the DocFileFactory for a Configuration.

      The WeakHashMap is ineffective (because the value indirectly references the key) and serves little purpose. A field in Configuration will be better.

      The map causes an effective memory leak when javadoc is reused within the same VM

      And, the effective memory leak is causing test runs to fail.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: