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]

documentation for boehm-gc tuning/profiling?



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


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