netty5/transport/src/main/java/io/netty/channel
Norman Maurer 375da788e7 [#2577] ChannelOutboundBuffer.addFlush() unnecessary loop through all entries on multiple calls
Motivation:

If ChannelOutboundBuffer.addFlush() is called multiple times and flushed != unflushed it will still loop through all entries that are not flushed yet even if it is not needed anymore as these were marked uncancellable before.

Modifications:

Check if new messages were added since addFlush() was called and only if this was the case loop through all entries and try to mark the uncancellable.

Result:

Less overhead when ChannelOuboundBuffer.addFlush() is called multiple times without new messages been added.
2014-06-17 09:31:53 +02:00
..
embedded Synchronized between 4.1 and master (part 3) 2014-04-25 16:17:59 +09:00
group Fix broken CompositeMatcher 2014-06-01 13:13:49 +02:00
local Introduce FastThreadLocal which uses an EnumMap and a predefined fixed set of possible thread locals 2014-06-13 10:56:18 +02:00
nio [#2485] Use RecvByteBufAllocator for all allocations related to read from Channel 2014-05-10 15:27:43 +02:00
oio [#2485] Use RecvByteBufAllocator for all allocations related to read from Channel 2014-05-10 15:27:43 +02:00
socket Synchronized between 4.1 and master again (part 2) 2014-04-25 15:06:26 +09:00
AbstractChannel.java [#2362] AbstractChannel.AbstractUnsafe.write(...) is slow 2014-04-04 09:54:52 +02:00
AbstractChannelHandlerContext.java Optimize DefaultChannelPipeline in terms of memory usage and initialization time 2014-06-10 12:18:38 +02:00
AbstractEventLoop.java Implement EventExecutor.parent() in AbstractEventExecutor 2014-03-24 11:05:51 +09:00
AbstractEventLoopGroup.java Add EventExecutor.children() in favor of iterator() 2014-03-24 12:32:55 +09:00
AbstractServerChannel.java Make most outbound operations cancellable / More robust promise update 2014-02-10 14:57:18 -08:00
AdaptiveRecvByteBufAllocator.java Fix AdaptiveRecvByteBufAllocator.getSizeTableIndex() 2013-06-25 11:07:15 +09:00
AddressedEnvelope.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
Channel.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelConfig.java Enable AUTO_CLOSE opton by default for backward compatibility / Deprecare AUTO_CLOSE option because it's gone in 5.0. 2013-11-05 17:40:23 +09:00
ChannelDuplexHandler.java More javadoc fixes 2013-07-14 18:04:33 +02:00
ChannelException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ChannelFlushPromiseNotifier.java ChannelFlushPromiseNotifier should allow long value for pendingDataSize 2014-06-03 17:34:53 +02:00
ChannelFuture.java Synchronized between 4.1 and master 2014-04-25 00:38:02 +09:00
ChannelFutureListener.java Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener) 2013-04-15 15:26:20 +09:00
ChannelHandler.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelHandlerAdapter.java Introduce FastThreadLocal which uses an EnumMap and a predefined fixed set of possible thread locals 2014-06-13 10:56:18 +02:00
ChannelHandlerAppender.java Optimize DefaultChannelPipeline in terms of memory usage and initialization time 2014-06-10 12:18:38 +02:00
ChannelHandlerContext.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelHandlerInvoker.java Synchronized between 4.1 and master again (part 2) 2014-04-25 15:06:26 +09:00
ChannelHandlerInvokerUtil.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelId.java Resurrect Channel.id() with global uniqueness 2014-02-13 15:53:07 -08:00
ChannelInboundHandler.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelInboundHandlerAdapter.java Mark ChannelHandler.exceptionCaught(...) as deprecated in preparation to move to ChannelInboundHandler. Related to [#1808] 2013-09-08 20:11:51 +02:00
ChannelInitializer.java Fix NoSuchElementException raised by ChannelInitializer 2013-12-07 11:04:40 +09:00
ChannelMetadata.java Revamp the core API to reduce memory footprint and consumption 2013-06-10 16:10:39 +09:00
ChannelOption.java Synchronized between 4.1 and master 2014-04-25 00:38:02 +09:00
ChannelOutboundBuffer.java [#2577] ChannelOutboundBuffer.addFlush() unnecessary loop through all entries on multiple calls 2014-06-17 09:31:53 +02:00
ChannelOutboundHandler.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelOutboundHandlerAdapter.java Allow per-write promises and disallow promises on flush() 2013-07-11 00:49:48 +09:00
ChannelPipeline.java Undeprecate deregister() and chanelUnregistered() 2014-04-25 16:40:42 +09:00
ChannelPipelineException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ChannelProgressiveFuture.java Make EventExecutor.shutdownGracefully() return Future 2013-06-12 08:00:54 +09:00
ChannelProgressiveFutureListener.java Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener) 2013-04-15 15:26:20 +09:00
ChannelProgressivePromise.java Make EventExecutor.shutdownGracefully() return Future 2013-06-12 08:00:54 +09:00
ChannelPromise.java Make EventExecutor.shutdownGracefully() return Future 2013-06-12 08:00:54 +09:00
ChannelPromiseAggregator.java Fix checkstyle 2013-07-14 18:32:10 +02:00
ChannelPromiseNotifier.java More javadoc fixes 2013-07-14 18:04:33 +02:00
CombinedChannelDuplexHandler.java Deprecate CombinedChannelDuplexHandler in favor of ChannelHandlerAppender 2014-02-13 19:20:25 -08:00
CompleteChannelFuture.java Make EventExecutor.shutdownGracefully() return Future 2013-06-12 08:00:54 +09:00
ConnectTimeoutException.java [#1036] Add special ConnectTimeoutException which is thrown if a connection failed because of a timeout 2013-03-07 20:53:45 +01:00
DefaultAddressedEnvelope.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
DefaultChannelConfig.java [#2375] [#2404] Fix bug in respecting ChannelConfig.setAutoRead(false) and also fix Channel.read() for OIO 2014-04-17 07:50:51 +02:00
DefaultChannelHandlerContext.java Optimize DefaultChannelPipeline in terms of memory usage and initialization time 2014-06-10 12:18:38 +02:00
DefaultChannelHandlerInvoker.java Optimize DefaultChannelPipeline in terms of memory usage and initialization time 2014-06-10 12:18:38 +02:00
DefaultChannelId.java Correction on StringBuilder default init size 2014-05-30 07:35:49 +02:00
DefaultChannelPipeline.java Optimize DefaultChannelPipeline in terms of memory usage and initialization time 2014-06-10 12:18:38 +02:00
DefaultChannelProgressivePromise.java Make EventExecutor.shutdownGracefully() return Future 2013-06-12 08:00:54 +09:00
DefaultChannelPromise.java Simplify the validation logic proposed in 25f96b1644 2013-07-23 13:48:22 +09:00
DefaultEventLoop.java Replace LocalEventLoopGroup with DefaultEventLoopGroup 2014-03-24 11:39:55 +09:00
DefaultEventLoopGroup.java Replace LocalEventLoopGroup with DefaultEventLoopGroup 2014-03-24 11:39:55 +09:00
DefaultFileRegion.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
DefaultMessageSizeEstimator.java Correctly update Channel.isWritable() when the write happens from outside the EventLoop in a fast fashion. Fixes [#1697] 2013-08-07 10:10:43 +02:00
EventLoop.java User-definable thread model via ChannelHandlerInvoker 2014-03-24 18:09:27 +09:00
EventLoopException.java Fix types in javadocs 2013-07-22 19:14:36 +02:00
EventLoopGroup.java Allow to get an Iterator over all of the EventExecutor an EventExecutorGroup contains. Beside this allow to get basic stats for the EventExecutor like pendingTasks and executorCount 2013-04-09 15:45:18 +09:00
FailedChannelFuture.java [#1065] Provide Future/Promise without channel reference 2013-03-07 07:21:37 +01:00
FileRegion.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
FixedRecvByteBufAllocator.java Revamp the core API to reduce memory footprint and consumption 2013-06-10 16:10:39 +09:00
MessageSizeEstimator.java Correctly update Channel.isWritable() when the write happens from outside the EventLoop in a fast fashion. Fixes [#1697] 2013-08-07 10:10:43 +02:00
MultithreadEventLoopGroup.java Correct the return type of MultithreadEventLoopGroup.newChild() 2014-03-24 17:05:36 +09: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
RecvByteBufAllocator.java More javadoc fixes 2013-06-13 20:56:17 +02:00
ServerChannel.java Revert file mode 2012-07-07 14:39:35 +09:00
SimpleChannelInboundHandler.java Corrected inconsistencies in the Javadoc. 2014-03-04 06:34:50 +01:00
SingleThreadEventLoop.java User-definable thread model via ChannelHandlerInvoker 2014-03-24 18:09:27 +09:00
SucceededChannelFuture.java [#1065] Provide Future/Promise without channel reference 2013-03-07 07:21:37 +01:00
ThreadLocalPooledDirectByteBuf.java Directly use memory addresses for gathering writes to reduce gc pressure. Part of [#2239] 2014-02-21 13:37:33 +01:00
ThreadPerChannelEventLoop.java ability to use Executor instead of ThreadFactory 2014-02-13 16:14:41 -08:00
ThreadPerChannelEventLoopGroup.java Add EventExecutor.children() in favor of iterator() 2014-03-24 12:32:55 +09:00
VoidChannelPromise.java [#1519] VoidChannelPromise don't fire CancellationException anymore which was incorrect 2013-07-04 09:32:38 +02:00