This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Finding memory leaks
Thomas Aeby writes:
>
> 2) Many of the objects that are marked by both my mark algorithm and
> gcj's garbage collector are pointed to by some nested data
> structure that do not constitute Java objects - I haven't found
> out yet what this is is. Maybe some internal list used for
> incremental garbage collection?
I doubt it. Do you know what root points to these mystery structures?
Perhaps they're instances of Class, perhaps something else.
> 3) No idea why the garbage collector does not collect the objects that
> are not marked by my algorithm.
Well, there must be some root pointing to them; that or a gc bug.
Like I said, we really need s full trace during gc to figure this out.
Andrew.