WeakOrderQueue finalizer needed?

29 views
Skip to first unread message

Nat

unread,
Oct 24, 2017, 6:30:08 PM10/24/17
to Netty discussions
I wonder why Recycler$WeakOrderQueue has a finalize() method. Is it possible to make it non-finalizable object (probably by using PhantomReference)? The reason I asked because I was trying to debug a long GC pause and just noticed that there are a lot of WeakOrderQueue in the finalizer queue. (Note that so far I do not have a good evidence that this causes the problem yet. I just noticed that we have relatively high "Ref Proc" time even though ParallelRefProcEnabled is already turned on.

Norman Maurer

unread,
Oct 25, 2017, 1:21:24 AM10/25/17
to ne...@googlegroups.com
Can you open an issue in our issue tracker for this ? I will need to investigate a bit and want to ensure it not get forgotten before I find the time

Thanks
norman


On 25. Oct 2017, at 00:30, Nat <nat....@gmail.com> wrote:

I wonder why Recycler$WeakOrderQueue has a finalize() method. Is it possible to make it non-finalizable object (probably by using PhantomReference)? The reason I asked because I was trying to debug a long GC pause and just noticed that there are a lot of WeakOrderQueue in the finalizer queue. (Note that so far I do not have a good evidence that this causes the problem yet. I just noticed that we have relatively high "Ref Proc" time even though ParallelRefProcEnabled is already turned on.

--
You received this message because you are subscribed to the Google Groups "Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netty+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netty/c6db400f-9e54-40cc-b040-f5c966035fc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nat

unread,
Oct 26, 2017, 1:12:55 PM10/26/17
to Netty discussions

Norman Maurer

unread,
Oct 26, 2017, 1:16:26 PM10/26/17
to ne...@googlegroups.com
Thanks

Am 25.10.2017 um 00:30 schrieb Nat <nat....@gmail.com>:

I wonder why Recycler$WeakOrderQueue has a finalize() method. Is it possible to make it non-finalizable object (probably by using PhantomReference)? The reason I asked because I was trying to debug a long GC pause and just noticed that there are a lot of WeakOrderQueue in the finalizer queue. (Note that so far I do not have a good evidence that this causes the problem yet. I just noticed that we have relatively high "Ref Proc" time even though ParallelRefProcEnabled is already turned on.

--
Reply all
Reply to author
Forward
0 new messages