[kaffe] GC Error while running simplescalar with kaffe

Archana archana at csa.iisc.ernet.in
Fri Oct 31 06:58:02 PST 2003

 when i run some of the Spec JVM98 benchmarks with kaffe (July 2002 
release) i get this error
mem/gc-incremental.c:1064: gcFree: Assertion `!!!"Attempt to explicitly
free nonfixed object"' failed. 
Does this mean that the GC is getting invoked?
has this been a bug in the release?


On Tue, 21 Oct 2003, Jim Pick wrote:

> On Tue, 21 Oct 2003 00:00:15 -0700 (PDT)
> archana <ebb4524 at yahoo.com> wrote:
> > Hi,
> >  if one wants to simulate the kaffe interpreter with
> > the gc running say using tools like simplescalar,
> > how can one do it?
> I did a quick Google search, and I found this:
>   http://www.cae.wisc.edu/~mxu/SimpleScalar_Kaffe_Mini_Howto.shtml
> I'm not sure I understand what he's actually doing there.
> > the gc runs on a separate thread. 
> > is it possible to get the effect by making some
> > changes to the code etc..
> > there was one posting in this mail list
> > ref: Jun 20 2001, sub:  Can/How I disable threading? 
> > which i think slightly hinted at the changes that
> > could be done to the code to support threads.
> > Can someone please elaborate on this?
> When Kaffe starts up, one of the first things it does is create separate
> threads for the garbage collector and finalizer.  I think the
> modification was to not create those threads, and then run Kaffe with a
> large enough heap size so that there was never any need to call the
> garbage collector.
> If it's useful, I could imagine that we could add a flag which would
> enable startup with the garbage collector turned off.  Patches are
> welcome.
> Cheers,
>  - Jim
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

More information about the kaffe mailing list