From: Godmar Back (gback@cs.utah.edu)
Date: Mon Dec 07 1998 - 22:37:55 EST
>
> Well really it should be Throwable shouldn't it? It's a real object after
> all.
I agree. It being a kaffe.util.Ptr is probably the bug.
The problems I had when implementing precise gc were the other way around:
something that was declared as an java.lang.Object wasn't really one.
However, this turned out not to be a problem because the gc_layout map
of each object will only say which pointers in it are used to mark
objects for gc. This only requires that the gc allocator allocated it,
not that it's a java object. Anyway, this has nothing to do with
exceptObj, I think.
There's also a -Wall error in the stack overflow additions.
- Godmar
>
> Tim
>
> Archie Cobbs wrote:
>
> > Hi,
> >
> > I noticed that "exceptObj" is defined as a java.lang.Throwable in
> > java/lang/Thread.java, but as a struct Hkaffe_util_Ptr* in the
> > include file java_lang_Throwable.h (ie, "make derived-files" yeilds
> > inconsistent results).
> >
> > Are there any problems changing java_lang_Throwable.h to reflect
> > reality (ie, make it a struct Hjava_lang_Throwable*) and fixing the
> > corresponding references in the code? Will this screw up garbage
> > collection since kaffe_util_Ptr is treated specially?
> >
> > Thanks,
> > -Archie
> >
> > ___________________________________________________________________________
> > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
>
>
>
> --
> Tim Wilkinson Tel: +1 510 704 1660
> Transvirtual Technologies, Inc., Fax: +1 510 704 1893
> Berkeley, CA, USA. Email: tim@transvirtual.com
>
>
>
>
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:07 EDT