L.S.,
I am debugging memory leaks in the GC of libgcj. Generally, libgcj
performs well, but there are some cases in which the heap literally
explodes over time. I wish to solve this. The OpenJDK vm runs the same
tests without any leaking.
I compiled GCC 4.6, build with --enable-libgcj-debug=yes and started
testing with GC_DUMP_REGULARLY=1. From the results I have a few
questions to understand it better. I am still in a phase of
pinpointing a minimal program to demonstrate the problem, and I would
like to get hints as to search further.
1. The finalization table entries keeps on increasing up to 39344
until it is killed, but the objects which are eligible for immediate
finalization remains 0. It seems that no finalization takes place.
Could you give any hints as to what could be the reason for this? It
logs: