kaffe-0.8.x garbage collection problem (at least on m68k)

Tim Wilkinson tim at tjwassoc.demon.co.uk
Mon Mar 3 06:46:22 PST 1997


On Mon, 3 Mar 1997, Esa Salonen wrote:

> at least for m68k sizeof (struct _constants) is 10 (not 12),  which means
> that in struct _classes (in file classMethod.h) which includes struct _constants
> (that used to be a pointer to struct _constants in kaffe-0.5.5)
> all pointers after struct _constants (method and field pointers) are
> mis aligned when walkObject (in gc-incremental.c) loops through class
> objects. That means that some class methods and static fields could be garbage collected,
> for example System.out and System.err.

Erm, does this mean that on the m68k pointers aren't aligned to 4 byte
boundaries within structures - shurely shome mistake.

Tim
--
  Tim Wilkinson                         Tel/Fax: +44 181 440 0658
  T. J. Wilkinson & Associates,         Mobile:  +44 370 621006
  London, UK.                           Email:   tim at tjwassoc.demon.co.uk



More information about the kaffe mailing list