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


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