netty5/common/src
Norman Maurer 6eb9674bf5 Replace finalizer() usage in Recycler.WeakOrderQueue with ObjectCleaner usage.
Motivation:

We recently introduced ObjectCleaner which can be used to ensure some cleanup action is done once an object becomes weakable reachable. We should use this in Recycler.WeakOrderQueue to reduce the overhead of using a finalizer() (which will cause the GC to process it two times).

Modifications:

Replace finalizer() usage with ObjectCleaner

Result:

Fixes [#7343]
2018-03-09 18:45:02 -08:00
..
main Replace finalizer() usage in Recycler.WeakOrderQueue with ObjectCleaner usage. 2018-03-09 18:45:02 -08:00
test HashedWheelTimer.newTimeout(...) may overflow 2018-03-03 15:00:47 -08:00