8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation

Alan Bateman Alan.Bateman at oracle.com
Tue Nov 26 15:57:38 UTC 2019



On 26/11/2019 15:42, Chris Hegarty wrote:
> :
> I find is incredibly difficult to interpret the output of a benchmark without the source.
>
>> The caching of the last address has not been removed, it's just moved because the SocketAddress is no longer created by the native method.
> Yes, of course. I confused myself from a previous iteration of this change.
That one is the Receive test:
    http://cr.openjdk.java.net/~alanb/8234805/Receive.java

Martin has big suite in the original thread but they can't be 
contributed. I created JDK-8234812 to add tests to the microbenchmark 
suite, they aren't part of the current patch of course.

-Alan


More information about the nio-dev mailing list