netty5/handler/src
Norman Maurer 80de5fa9c9 Reduce object creation for for unwrap/wrap if no ByteBuffer[] is used.
Motivation:

Often unwrap(...), wrap(...) is used with a single ByteBuffer and not with a ByteBuffer[]. We should reduce the array creations in this case.

Modifications:

Reuse ByteBuffer[1] for dst/src ByteBuffer.

Result:

Less object creation and so less GC
2015-10-07 13:35:44 +02:00
..
main/java/io/netty/handler Reduce object creation for for unwrap/wrap if no ByteBuffer[] is used. 2015-10-07 13:35:44 +02:00
test Lazy compute SSLSession creation time. 2015-10-03 10:42:20 +02:00