Hello team,
I have come across with excellent explanations of how java.lang.ref.Finalizer works.
However, I still have a doubt which I hope to be able to clarify in this forum.
Here is the scenario we are facing, we have a Java application running and even though when there is no heavy load submitted against it, there are still some threads running in the background to send information to other systems. And since there is some monitoring in place, sometimes the memory usage goes over a threshold and an alert is raised.
When we take a heap dump and check it we see that java.lang.ref.Finalizer is on top of the Class console (for Yourkit) and the retained Size is quite big.
My question is, for the perspective of HEAP monitoring using VMConsole and other tools, would the Finalizer be taken into consideration? Which would explain why the alert was raised?
TIA! Flavio