netty5/transport/src/main/java/io/netty/channel/socket/nio
Norman Maurer fd0d06ee39
Replace reflection usage with MethodHandles when performance matters (#10097)
Motivation:

As we have java8 as a minimum target we can use MethodHandles. We should do so when we expect to have a method called multiple times.

Modifications:

- Replace usage of reflection with MethodHandles where it makes sense
- Remove some code which was there to support java < 8

Result:

Faster code
2020-03-11 21:04:40 +01:00
..
NioChannelOption.java Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00
NioDatagramChannel.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
NioDatagramChannelConfig.java Replace reflection usage with MethodHandles when performance matters (#10097) 2020-03-11 21:04:40 +01:00
NioServerSocketChannel.java NioServerSocketChannel.isActive() must return false after close() completes. (#9030) 2019-04-11 18:55:11 +02:00
NioSocketChannel.java Remove duplicated calculation (#9565) 2019-09-15 08:34:07 +02:00
ProtocolFamilyConverter.java More javadoc fixes 2012-12-21 07:13:31 +01:00
package-info.java Revert file mode 2012-07-07 14:39:35 +09:00