hg: jdk/sandbox: 8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Jul 3 22:15:23 UTC 2018


Changeset: 76b5ee99ffc0
Author:    bpb
Date:      2018-07-03 15:02 -0700
URL:       http://hg.openjdk.java.net/jdk/sandbox/rev/76b5ee99ffc0

8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive
Summary: Clear handler instance variable after use
Reviewed-by: rriggs, alanb

! src/java.base/unix/classes/sun/nio/ch/UnixAsynchronousSocketChannelImpl.java
+ test/jdk/java/nio/channels/AsynchronousSocketChannel/CompletionHandlerRelease.java



More information about the jdk-sandbox-changes mailing list