This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Detecting memory leaks
Jari Korva wrote:
Thanks for the hint! If I understand correctly, it is C, not GC:
...
Are there any tools that can help me from there? I know that in
general there are many tools, but are they applicable to gcj and ARM (it
seems that I'm too lazy to try them myself ;) ?
Unfortunately I don't know of a tool which can easily help diagnose
leaks in the native parts of libgcj. valgrind doesn't yet run libgcj,
unfortunately - I believe this is because its emulation of POSIX signals
is inadequate.
There are some known leaks in our AWT implementation, for example, (see
http://gcc.gnu.org/PR16722) so a working leak detector would be very
nice to help track these down.
Regards
Bryce