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

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

    XMLWordPrintable

Details

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

    Backports

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: