This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj-jit failure
- From: Hans Boehm <Hans dot Boehm at hp dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: GCJ mailing list <java at gcc dot gnu dot org>
- Date: Wed, 15 Sep 2004 21:20:53 -0700 (PDT)
- Subject: Re: gcj-jit failure
- References: <m3y8jbhwi3.fsf@localhost.localdomain>
Try bumping up MAX_ROOT_SETS in gc_priv.h to a much larger number. The
current number is much too small for that many libraries. This should be
fixed to grow automatically.
Hans
On Wed, 15 Sep 2004, Tom Tromey wrote:
> Today I tried the experiment of starting eclipse using gcj-jit and
> no precompilation. After valiantly compiling 319 classes, I get a
> crash in the GC:
>
> #3 0x00d7b5bc in GC_abort (msg=0xf11f17 "Too many root sets\n")
> at ../../../gcc/boehm-gc/misc.c:1048
> #4 0x00d79bd3 in GC_add_roots_inner (b=0x1220150 "ÿÿÿÿ",
> e=0x1220d50 ".EventStats.buildException(java.lang.Exception)", tmp=1)
> at ../../../gcc/boehm-gc/mark_rts.c:242
>
> I'm not going to look into this any further at the moment. There are
> more important bugs to fix; still, this is interesting.
>
> Tom
>