netty5/transport-sctp/src/main
Roger 3e3e5155b9 Check if Log level is enabled before creating log statements (#8022)
Motivation

There is a cost to concatenating strings and calling methods that will be wasted if the Logger's level is not enabled.

Modifications

Check if Log level is enabled before producing log statement. These are just a few cases found by RegEx'ing in the code.

Result

Tiny bit more efficient code.
2018-06-13 23:21:53 -07:00
..
java Check if Log level is enabled before creating log statements (#8022) 2018-06-13 23:21:53 -07:00
test/io/netty SctpMessageCompletionHandler may leak ByteBuf for fragmented messages. (#7832) 2018-04-02 21:37:03 +02:00