Debugging memory leaks

Andrew Haley aph@redhat.com
Fri Apr 15 15:54:00 GMT 2005


I've been having a great deal of difficulty tracking down memory leaks
in libgcj.
What I need is some sort of interface that allows me to enquire who
points to an object. The ideal interface would be something like
points_to (obj) -> obj. I realize that in practice there is a set of
objects that point to a particular object, but that doesn't concern
me: one is all I need.
Is there any interface within the GC that can give me this function?
If not, how hard would it be to provide? Can you provide me with some
guidance?
Ideally, I'd love to have something like Glasgow Haskell Compiler's
heap profiling, but I'll settle for much less.
Thanks,
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /