Object alignment, was: cygwin failures - assertion "!(addr &F LAGS)" failed:

Tom Tromey tromey@redhat.com
Wed May 8 09:59:00 GMT 2002


>>>>> "Hans" == Boehm, Hans <hans_boehm@hp.com> writes:

Hans> Locking a statically allocated plain java.lang.Object may be an
Hans> issue, since I think it's too small.

Right now we only statically allocate arrays and Class objects.
Someday we may add Strings.  It would be nice if the compiler could
internally enforce the above constraint, so that if we make other
changes in the future it will complain, but I don't think that's
possible.

Tom



More information about the Java mailing list