This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Garbage collection problem
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Adam King <aking at dreammechanics dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 20 Aug 2002 17:02:17 -0400 (EDT)
- Subject: Re: Garbage collection problem
On Tue, 20 Aug 2002, Adam King wrote:
> I was very glad to see that when memory is avialble, the modified gcj
> beat Sun's JDK in all of our performance tests. Is there _anything_ I can
> do to improve the performace on "low" (64Mb) memory systems?
How much heap does your application need? Try running with
GC_PRINT_STATS=1 to get an idea of the frequency/duration of collections,
along with heap size.
If the mark phase of collection causes significant paging due to having a
heap larger than available memory, I'd expect some slowdown. In that case
incremental mode may help. I have no idea if incremental GC is usable on
win32, though.
Jeff