netty5/transport/src
Norman Maurer 8ce7e73e78 Prevent extra peformance hit by fillInStackTrace() when create a new annotated connect exception.
Motivation:

To make it easier to debug connect exceptions we create new exceptions which also contain the remote address. For this we basically created a new instance and call setStackTrace(...). When doing this we pay an extra penality because it calls fillInStackTrace() when calling the super constructor.

Modifications:

Create special sub-classes of Exceptions that override the fillInStackTrace() method and so eliminate the overhead.

Result:

Less overhead when "annotate" connect exceptions.
2016-08-24 07:34:43 +02:00
..
main/java/io/netty Prevent extra peformance hit by fillInStackTrace() when create a new annotated connect exception. 2016-08-24 07:34:43 +02:00
test/java/io/netty Guard against re-entrance in PendingWriteQueue.removeAndWriteAll() 2016-08-18 07:13:19 +02:00