netty5/transport/src/main/java/io/netty/channel/socket
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
..
nio Replace reflection usage with MethodHandles when performance matters (#10097) 2020-03-11 21:04:40 +01:00
ChannelInputShutdownEvent.java Cleanup usage of Channel*Handler (#9959) 2020-01-20 17:47:17 -08:00
ChannelInputShutdownReadComplete.java EpollRecvByteAllocatorHandle doesn't inform delegate of more data 2017-02-13 17:42:24 -08:00
ChannelOutputShutdownEvent.java Cleanup usage of Channel*Handler (#9959) 2020-01-20 17:47:17 -08:00
ChannelOutputShutdownException.java Add missed 'serialVersionUID' field for Serializable classes 2017-10-21 14:41:18 +02:00
DatagramChannel.java Fix DatagramChannel javadoc 2015-07-12 20:19:59 +02:00
DatagramChannelConfig.java [#3806] Setting WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception 2016-03-31 13:44:44 +02:00
DatagramPacket.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DefaultDatagramChannelConfig.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultServerSocketChannelConfig.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DefaultSocketChannelConfig.java migrate java8: use requireNonNull (#8840) 2019-02-04 10:32:25 +01:00
DuplexChannel.java DuplexChannel to support shutdownInput 2016-05-18 09:11:49 +02:00
InternetProtocolFamily.java Regulation of the InternetProtocolFamily usage 2017-04-20 05:22:24 +02:00
ServerSocketChannel.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ServerSocketChannelConfig.java Remove @Deprecated for primitive WriteWaterMark getters and setters 2016-09-05 10:26:05 +02:00
SocketChannel.java Enable shutdownOutput for EpollDomainSocketChannel 2016-02-18 18:05:51 -08:00
SocketChannelConfig.java Cleanup usage of Channel*Handler (#9959) 2020-01-20 17:47:17 -08:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00