Patch: Increase boehm-gc MAX_ROOT_SETS
Boehm, Hans
hans.boehm@hp.com
Wed Nov 2 01:09:00 GMT 2005
Wouldn't it be better to just make LARGE_CONFIG the default, as Andrew
suggested?
I think that most gcj apps are big enough that the extra constant space
overhead should be in the noise. And it potentially avoids some other
issues with very large heaps.
Hans
> -----Original Message-----
> From: java-patches-owner@gcc.gnu.org
> [mailto:java-patches-owner@gcc.gnu.org] On Behalf Of Bryce McKinlay
> Sent: Tuesday, November 01, 2005 4:05 PM
> To: java-patches@gcc.gnu.org
> Subject: Patch: Increase boehm-gc MAX_ROOT_SETS
>
>
> The GC is currently configured for a maximum of 256 static
> roots. This
> can cause problems in applications that load a large number of shared
> libraries, resulting in a "too many root sets" error. Theres more
> information in the following Fedora bug:
>
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155273
>
> This patch is a temporary workaround - the eventual plan is
> to eliminate
> the need to scan static data areas completely, ie static
> class variables
> become reachable via their class.
>
> I'm checking this in to both the HEAD and the GCC 4.0 branch.
>
> Bryce
>
>
>
>
More information about the Java-patches
mailing list