This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Debugging memory leaks
On Wed, 20 Apr 2005, 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