8212132: (dc) Remove DatagramChannelImpl finalize method

Brian Burkhalter brian.burkhalter at oracle.com
Tue Oct 22 17:47:00 UTC 2019



> On Oct 22, 2019, at 8:32 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> Lots of good work in recent releases to replace the use of finalizers in the java.base module with the cleaner mechanism. The DatagramChannel implementation is still using a finalizer so it's time to replace that. While in the area I removed the wrapper around the cleaner used in the NIO SocketImpl as it is not needed.
> 
> The proposed changes are here:
>   http://cr.openjdk.java.net/~alanb/8212132/webrev/index.html <http://cr.openjdk.java.net/~alanb/8212132/webrev/index.html>
Looks all right.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20191022/97032d85/attachment-0001.html>


More information about the nio-dev mailing list