netty5/common/src/test/java/io/netty/util
Jakob Buchgraber f8bee2e94c Make Nio/EpollEventLoop run on a ForkJoinPool
Related issue: #2250

Motivation:

Prior to this commit, Netty's non blocking EventLoops
were each assigned a fixed thread by which all of the
EventLoop's I/O and handler logic would be performed.

While this is a fine approach for most users of Netty,
some advanced users require more flexibility in
scheduling the EventLoops.

Modifications:

Remove all direct usages of threads in MultithreadEventExecutorGroup,
SingleThreadEventExecutor et al., and introduce an Executor
abstraction instead.

The way to think about this change is, that each
iteration of an eventloop is now a task that gets scheduled
in a ForkJoinPool.

While the ForkJoinPool is the default, one also has the
ability to plug in his/her own Executor (aka thread pool)
into a EventLoop(Group).

Result:

Netty hands off thread management to a ForkJoinPool by default.
Users can also provide their own thread pool implementation and
get some control over scheduling Netty's EventLoops
2014-08-11 15:28:46 -07:00
..
collection Fixes and improvements to IntObjectHashMap. Related to [#2659] 2014-07-21 16:15:18 +02:00
concurrent Make Nio/EpollEventLoop run on a ForkJoinPool 2014-08-11 15:28:46 -07:00
internal Fix most inspector warnings 2014-07-02 19:04:11 +09:00
ConstantPoolTest.java Fix a ConstantPoolTest failure 2014-07-29 15:45:50 -07:00
DefaultAttributeMapTest.java Fix most inspector warnings 2014-07-02 19:04:11 +09:00
HashedWheelTimerTest.java [#2744] Fix flakey HashedWheelTimerTest.testExecutionOnTime() 2014-08-06 07:01:24 +02:00
NetUtilTest.java enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
RecyclerTest.java Fix most inspector warnings 2014-07-02 19:04:11 +09:00
ThreadDeathWatcherTest.java Refactor FastThreadLocal to simplify TLV management 2014-06-19 21:17:46 +09:00