This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]