netty5/common/src/test/java/io/netty/util
Trustin Lee 13c0cfde59 Add awaitInactivity() to GlobalEventExecutor and ThreadDeathWatcher
Motivation:

When running Netty on a container environment, the container will often
complain about the lingering threads such as the worker threads of
ThreadDeathWatcher and GlobalEventExecutor.  We should provide an
operation that allows a use to wait until such threads are terminated.

Modifications:

- Add awaitInactivity()
- (misc) Fix typo in GlobalEventExecutorTest
- (misc) Port ThreadDeathWatch's CAS-based thread life cycle management
  to GlobalEventExecutor

Result:

- Fixes #2084
- Less overhead on task submission of GlobalEventExecutor
2014-06-02 19:28:00 +09:00
..
concurrent Add awaitInactivity() to GlobalEventExecutor and ThreadDeathWatcher 2014-06-02 19:28:00 +09:00
internal [#2252] Fix bug where AppendableCharSequence private constructor does not set correct position 2014-03-03 20:03:24 +01:00
ConstantPoolTest.java Add a shortcut method for collision-free naming 2014-02-13 15:17:09 -08:00
DefaultAttributeMapTest.java [#2523] Fix infinite-loop when remove attribute and create the same attribute again 2014-06-01 13:10:52 +02:00
HashedWheelTimerTest.java [#1959] Proposed fix to correctly handle timeouts that overflow the ticks in the wheel 2013-10-31 06:27:17 +01:00
NetUtilTest.java enable checkstyle for test source directory and fix checkstyle errors 2013-03-30 13:18:57 +01:00
ThreadDeathWatcherTest.java Fix checkstyle 2014-06-02 18:27:11 +09:00