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

-Dsun.net.maxDatagramSockets and Socket constructor does not work correctly with System.gc()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 7
    • core-libs
    • None
    • b10
    • generic
    • generic
    • Verified

        When System.gc() is invoked in a test program, the test program can create Sockets
        more than the limit specified in -Dsun.net.maxDatagramSockets.

        This is a follow up to CR 7073491 where the same issue was addressed in DatagramSocket. This CR proposes to address the same problem exposed through deprecated java.net.Socket(InetAddress host, int port, boolean stream).

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: