Detecting memory leaks

Bryce McKinlay mckinlay@redhat.com
Mon Sep 27 15:49:00 GMT 2004


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


More information about the Java mailing list

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