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

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

XMLWordPrintable

        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'.

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

                Created:
                Updated:
                Resolved: