This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: GC Problems...
- From: "Boehm, Hans" <hans dot boehm at hp dot com>
- To: "'Simon Levitt'" <simon dot levitt at worldpay dot com>, java at gcc dot gnu dot org
- Date: Tue, 7 Sep 2004 12:27:50 -0700
- Subject: RE: GC Problems...
> > It might also be interesting to call GC_dump() after it has
> run for a
> > while, and see what that looks like. I'd pay particularly
> close attention
> > to the root set.
> >
> Ok - I'll put in a call to do that every so often, and see
> what that gives.
>
For recent versions, the GC_DUMP_REGULARLY environment variable
should also have that effect. I'm not positive it works in
your environment.
In theory, with a very recent libcj source tree, you should also
be able to build with --enable-gc-debug and define GC_BACKTRACES
to get a sampling of what's retained in the heap. I'm pretty sure
that has not been tested on Mingw.
Hans