[kaffe] adding fields and allocation

Godmar Back gback at cs.utah.edu
Tue Aug 20 08:51:17 PDT 2002


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 at 8d.com
> 8D Technologies Inc.
> http://www.8d.com
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> 





More information about the kaffe mailing list