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

Memory leak in DefaultProxySelector

    XMLWordPrintable

Details

    • b07
    • windows
    • Verified

    Backports

      Description

        There's a memory leak in Windows DefaultProxySelector. The method createProxyList creates a list and stores a pointer in `head`; that pointer is then used as iterator, and when the iteration finishes, memory is never free'd.

        The leak only happens when DefaultProxySelector is used (java.net.useSystemProxies=true) and a proxy is used (the connection is not direct).

        Reported by clang-tidy.

        Attachments

          Issue Links

            Activity

              People

                djelinski Daniel Jelinski
                djelinski Daniel Jelinski
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: