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

Update java.net Socket and DatagramSocket implementations to use Cleaner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 11
    • 11
    • core-libs
    • b01

    Description

      The java.net.AbstractPlainDatagramSocketImpl and AbstractPlainSocketImpl have finalize methods that call close() to free FileDescriptors when the objects are no longer referenced. The cleanup behavior is not specified and can be reimplemented to use the Cleaner to more efficiently free FileDescriptors.

      Attachments

        Issue Links

          Activity

            People

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: