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

Memory leak in com.sun.naming.internal.ResourceManager

    XMLWordPrintable

    Details

      Backports

        Description

        The code analysis shows that there is a possible memory leak in
        ResourceManager class.
        All caches instead of one created in this class are WeakHashMap. The
        'perLoaderCache' is implemented as a HashMap.
        Such incorrect implementation can cause a memory leak. It should be changed
        to 'WeakHashMap'.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                aefimov Aleksej Efimov
                Reporter:
                asaha Abhijit Saha
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: