netty5/common/src
Norman Maurer 640a22df9e Remove WeakOrderedQueue from WeakHashMap when FastThreadLocal value was removed if possible.
Motivation:

We should remove the WeakOrderedQueue from the WeakHashMap directly if possible and only depend on the semantics of the WeakHashMap if there is no other way for us to cleanup it.

Modifications:

Override onRemoval(...) to remove the WeakOrderedQueue if possible.

Result:

Less overhead and quicker collection of WeakOrderedQueue for some cases.
2017-12-15 21:21:18 +01:00
..
main Remove WeakOrderedQueue from WeakHashMap when FastThreadLocal value was removed if possible. 2017-12-15 21:21:18 +01:00
test SingleThreadEventExecutor ignores startThread failures 2017-12-14 21:38:37 +00:00