GC Problems...

Boehm, Hans hans.boehm@hp.com
Tue Sep 7 19:27:00 GMT 2004


> > 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


More information about the Java mailing list

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