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: PR 10920 GC reports "too many roots"


The error indicates that the collectors table of places to look for pointer
variables overflowed.  This has nothing to do with heap size; it means
you have lots of dynamic libraries, or you're trying to explicitly register
root segments, or the win32 root finding code has gone haywire and is finding
lots of small writable memory segments, or something along those lines.

The table size is MAX_ROOT_SETS.  GC_dump() should print what's currently
in the table.  It would be good to understand why it's overflowing.  But simply
increasing MAX_ROOT_SETS is likely to improve matters.

Hans

> -----Original Message-----
> From: java-owner@gcc.gnu.org 
> [mailto:java-owner@gcc.gnu.org]On Behalf Of
> Ãyvind Harboe
> Sent: Monday, November 24, 2003 11:39 AM
> To: java@gcc.gnu.org
> Subject: PR 10920 GC reports "too many roots"
> 
> 
> With Mohans latest build, I've been able to take PR 10920 for a spin
> again.
> 
> It still happens.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10920
> 
> I've tried to track down GC problems in the past, and without 
> guidance,
> its pretty hard to make progress.
> 
> Ãyvind
> 
> 


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