Debugging memory leaks
Hans Boehm
Hans.Boehm@hp.com
Wed Apr 20 16:27:00 GMT 2005
On 2005年4月20日, Andrew Haley wrote:
> Hans Boehm writes:
> > Unfortunately, you currently have to rebuild libgcj to get this
> > functionality. You need to build with --enable-gc-debug.
>> Okay. Is this disabled by default because it harms performance?
>Yes, unfortunately. Among other things, it currently adds significant
space overhead to every object. This is probably largely fixable by keeping
the extra data structures on the side and building them only on
request. But that hasn't been done yet.
Hans
More information about the Java
mailing list