This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alignment test case


Jeff Sturm writes:
 > On Wed, 19 Mar 2003, Andrew Haley wrote:
 > >  > I thought that with hash synchronization, boehm-gc always allocates on an
 > >  > 8-byte boundary anyway?  Would aligning Object really waste memory?
 > >
 > > A little, because every subclass would also be 8-aligned.
 > 
 > Oh, I see.  So the subclass fields would start at offset 8, not 4, on x86?

Precisement.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]