netty5/handler/src
Carl Mastrangelo e00f24961a Get memory address from Unsafe for OpenSSL
Motivation:
Profiling tcnative SSL code showed a non trivial percentage (1%)
of time spent in JNI code for InstaceOf.   This turned out to be
from `Buffer.address` which makes a JNI call, which safely checks
on each call that The ByteBuffer is direct.

Modification:
Prefer using the address field of the pojo rather than looking it
up with JNI.  This is the same approach taken by the `OpenSsl`
class.

Result:
Less JNI overhead
2018-02-16 07:57:43 +01:00
..
main/java/io/netty/handler Get memory address from Unsafe for OpenSSL 2018-02-16 07:57:43 +01:00
test Introduce an alternative IdentityCipherSuiteFilter that defaults to supportedCiphers, close #7655 2018-02-07 13:37:25 +01:00