This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
documentation for boehm-gc tuning/profiling?
- From: Adam Megacz <gcj at lists dot megacz dot com>
- To: java at gcc dot gnu dot org
- Date: 22 Dec 2001 00:10:50 -0800
- Subject: documentation for boehm-gc tuning/profiling?
- Organization: Myself
So things are going pretty well with my win32 port of xwt, except that
allocating new objects seems to be incredibly time-consuming -- up to
(I'm guessing) around 200ms just to concatenate two strings. It seems
to take longer the larger the heap is.
My wild guess is that I've broken something and have caused the GC to
do a heap scan on every allocation.
Is there any documentation on tuning bohem-gc (parameters like heap
size, when to grow heap, how often to scan) or profiling it (gathering
data on how often scans are performed, how much memory reclaimed,
etc).
I'm running computations with some pretty complex data structures, and
I'm not seeing any abnormal heap growth (9MB heap peak, which is
pretty much what I see under hotspot) nor any premature deallocations.
- a