Replace finalizer() usage in Recycler.WeakOrderQueue with ObjectCleaner usage.
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]

fenik17/netty,ejona86/netty,zer0se7en/netty,jchambers/netty,fengjiachun/netty,fenik17/netty,fengjiachun/netty,doom369/netty,fenik17/netty,netty/netty,tbrooks8/netty,NiteshKant/netty,mikkokar/netty,Squarespace/netty,fengjiachun/netty,bryce-anderson/netty,tbrooks8/netty,mikkokar/netty,doom369/netty,Squarespace/netty,gerdriesselmann/netty,artgon/netty,netty/netty,NiteshKant/netty,johnou/netty,artgon/netty,fengjiachun/netty,zer0se7en/netty,Squarespace/netty,jchambers/netty,tbrooks8/netty,Squarespace/netty,zer0se7en/netty,doom369/netty,johnou/netty,artgon/netty,tbrooks8/netty,bryce-anderson/netty,jchambers/netty,ejona86/netty,fenik17/netty,netty/netty,johnou/netty,gerdriesselmann/netty,bryce-anderson/netty,ejona86/netty,andsel/netty,Spikhalskiy/netty,gerdriesselmann/netty,netty/netty,Spikhalskiy/netty,zer0se7en/netty,mikkokar/netty,andsel/netty,doom369/netty,johnou/netty,artgon/netty,bryce-anderson/netty,mikkokar/netty,andsel/netty,gerdriesselmann/netty,johnou/netty,jchambers/netty,artgon/netty,bryce-anderson/netty,andsel/netty,fenik17/netty,Spikhalskiy/netty,jchambers/netty,Spikhalskiy/netty,fengjiachun/netty,gerdriesselmann/netty,netty/netty,ejona86/netty,Squarespace/netty,NiteshKant/netty,andsel/netty,zer0se7en/netty,Spikhalskiy/netty,tbrooks8/netty,NiteshKant/netty,NiteshKant/netty,mikkokar/netty,ejona86/netty,doom369/netty