This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Language extensions ?
- From: Tom Tromey <tromey at redhat dot com>
- To: "Robin Garner" <robin dot garner at iname dot com>
- Cc: aoliva at redhat dot com, java at gcc dot gnu dot org
- Date: 27 Mar 2003 00:17:59 -0700
- Subject: Re: Language extensions ?
- References: <20030327064829.99226.qmail@iname.com>
- Reply-to: tromey at redhat dot com
>>>>> "Robin" == Robin Garner <robin dot garner at iname dot com> writes:
Robin> How does gcc do alignment on architectures like Intel ?
The basic rule, as I understand it, is that a field is aligned to its
natural alignment, which is most cases is its size. (This varies for
some types on some platforms; for full documentation I think you have
to refer to the back end on a case-by-case basis.)
At runtime the GC aligns objects on an 8-byte boundary. This fact is
exploited in libgcj.
Tom