Heap fragmentation (Was: Debugging "Leaks" With Boehm-GC)
Martin Egholm Nielsen
martin@egholm-nielsen.dk
Tue Jan 17 22:43:00 GMT 2006
>>>You will need to build without NO_DEBUGGING, since that also prevents
>>>GC_dump from being defined.
> Martin> I hope it's enough to remove from the Makefile (and possibly
> Martin> boehm-cflags) and do "make clean && make && make install", and then
> Martin> redmake libgcj... That's what I'm doing now...
> Hmm, does it appear in the Makefile? In the gcc tree at least, it is
> set in configure.ac:
Well, yes. In the Makefile in there is a nice "-DNO_DEBUGGING=1" entry.
And it works just rebuilding "boehm-gc" and then "libjava" (and
installing)...
> if test -n "${with_cross_host}"; then
> AC_DEFINE(NO_SIGSET,1,[use empty GC_disable_signals and GC_enable_signals])
> AC_DEFINE(NO_DEBUGGING,1,[removes GC_dump])
> fi
Oh, what is the "GC_disable_signals" and "GC_enable_signals" about?
BR,
Martin
More information about the Java
mailing list