netty5/transport-native-epoll/src
Nick Hill 630c82717d Lazy initialize NativeDatagramPacketArray and IovArray in EpollEventLoop (#8160)
Motivation:

Avoid unnecessary native memory allocation if UDP / TCP isn't being
used.

Modifications:

Create the reused NativeDatagramPacketArray and IovArray upon first use
instead of EpollEventLoop construction.

Also correct related comment in NativeDatagramPacketArray.

Result:

Reduced native memory use when using epoll in many cases
2018-07-29 18:22:27 +08:00
..
main Lazy initialize NativeDatagramPacketArray and IovArray in EpollEventLoop (#8160) 2018-07-29 18:22:27 +08:00
test/java/io/netty/channel/epoll Epoll and Kqueue shouldn't read by default (#8024) 2018-06-15 10:28:50 +02:00