netty5/common/src/main/java/io/netty/util/concurrent
Dave Moten 0f4001d598 add task before starting thread in SingleThreadEventExecutor.execute (#7841)
Motivation:

Minor performance optimisation that prevents thread from blocking due to task not having been added to queue. Discussed #7815.

Modification:

add task to the queue before starting the thread.

Result:

No additional tests.
2018-04-05 07:57:21 +02:00
..
AbstractEventExecutor.java Add NonStickyEventExecutorGroup 2016-08-04 06:30:59 +02:00
AbstractEventExecutorGroup.java
AbstractFuture.java AbstractFuture should not wrap CancellationException 2015-12-11 10:24:08 -08:00
AbstractScheduledEventExecutor.java Fix typos in docs. 2018-02-14 08:44:07 +01:00
BlockingOperationException.java
CompleteFuture.java Add java-doc for implemented methods of io.netty.util.concurrent.Future#cancel(boolean mayInterruptIfRunning) 2018-01-29 11:19:52 +01:00
DefaultEventExecutor.java Allow to inject RejectedExecutionHandler for different EventLoops and EventExecutors 2016-06-24 17:08:30 +02:00
DefaultEventExecutorChooserFactory.java Fix typo in inner-class name 2017-01-10 13:49:52 +01:00
DefaultEventExecutorGroup.java Fix javadoc issues 2017-02-22 07:31:07 +01:00
DefaultFutureListeners.java
DefaultProgressivePromise.java
DefaultPromise.java DefaultPromise internal state dependent on Signal 2018-02-12 14:24:46 -08:00
DefaultThreadFactory.java Dont use ThreadDeathWatcher to cleanup PoolThreadCache if FastThreadLocalThread with wrapped Runnable is used 2017-11-28 13:43:28 +01:00
EventExecutor.java Clean-up unused imports 2016-09-30 09:08:50 +02:00
EventExecutorChooserFactory.java Allow to specify a custom EventExecutorChooserFactory. Related to [#1230] 2016-06-06 11:04:56 +02:00
EventExecutorGroup.java fix the typos 2017-04-20 04:56:09 +02:00
FailedFuture.java
FastThreadLocal.java Avoid register multiple cleaner task for same thread's FastThreadLocal index 2018-02-05 09:05:51 +01:00
FastThreadLocalRunnable.java Dont use ThreadDeathWatcher to cleanup PoolThreadCache if FastThreadLocalThread with wrapped Runnable is used 2017-11-28 13:43:28 +01:00
FastThreadLocalThread.java Introduce ObjectCleaner and use it in FastThreadLocal to ensure FastThreadLocal.onRemoval(...) is called 2017-12-21 07:34:44 +01:00
Future.java Clarify Future.removeListener[s] javaDocs 2016-06-08 15:48:26 -07:00
FutureListener.java
GenericFutureListener.java
GenericProgressiveFutureListener.java
GlobalEventExecutor.java Set thread context classloader in a doPrivileged block 2018-01-25 10:55:34 +01:00
ImmediateEventExecutor.java DefaultPromise StackOverflowError protection updates 2016-06-02 09:22:47 -07:00
ImmediateExecutor.java
MultithreadEventExecutorGroup.java Allow to specify a custom EventExecutorChooserFactory. Related to [#1230] 2016-06-06 11:04:56 +02:00
NonStickyEventExecutorGroup.java Add NonStickyEventExecutorGroup 2016-08-04 06:30:59 +02:00
OrderedEventExecutor.java [#5486] Not operate on serial execution assumption when using EventExecutor in the DefaultChannelPipeline. 2016-07-07 15:01:56 +02:00
package-info.java
ProgressiveFuture.java
ProgressivePromise.java
Promise.java
PromiseAggregator.java Deprecate PromiseAggregator 2016-03-14 10:53:30 -07:00
PromiseCombiner.java Restore add(Promise) and addAll(Promise...) methods to PromiseCombiner. 2017-01-30 09:23:11 +01:00
PromiseNotifier.java Log more details if notification of promise fails in PromiseNotifier and AbstractChannelHandlerContext 2016-09-07 06:55:38 +02:00
PromiseTask.java
RejectedExecutionHandler.java Allow to inject RejectedExecutionHandler for different EventLoops and EventExecutors 2016-06-24 17:08:30 +02:00
RejectedExecutionHandlers.java fix the typos 2017-04-20 04:56:09 +02:00
ScheduledFuture.java
ScheduledFutureTask.java Add java-doc for implemented methods of io.netty.util.concurrent.Future#cancel(boolean mayInterruptIfRunning) 2018-01-29 11:19:52 +01:00
SingleThreadEventExecutor.java add task before starting thread in SingleThreadEventExecutor.execute (#7841) 2018-04-05 07:57:21 +02:00
SucceededFuture.java
ThreadPerTaskExecutor.java
ThreadProperties.java Fix javadoc issues 2017-02-22 07:31:07 +01:00
UnaryPromiseNotifier.java PromiseNotifier does not propagate cancel events 2016-02-19 10:16:04 -08:00
UnorderedThreadPoolEventExecutor.java UnorderedThreadPoolEventExecutor consumes 100% CPU when idle 2017-03-09 11:12:42 +01:00