[kaffe] adding fields and allocation
Godmar Back
gback@stanford.edu
Tue, 20 Aug 2002 09:51:17 -0600 (MDT)
Adding anything Hjava_lang_Thread doesn't do you any good.
Add it to java/lang/Thread.java, rebuilt the classlibs and
it will work in your next build.
- Godmar
>
> Hi,
> if one adds a field to say Hjava_lang_Thread, how does one make the
> corresponding Hjava_lang_Class(ThreadClass in this case) bfsize field to be
> increased accordingly?
> For instance, the sizeof the modified Hjava_lang_Thread struct is now 116
> but the CLASS_FSIZE in newObject is still 104 which eventually creates a
> segfault.
>
> Thanks
> -Mat
> --
> Mathieu Dube -- mdube@8d.com
> 8D Technologies Inc.
> http://www.8d.com
>
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>