This is the mail archive of the java-patches@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]

Re: Alignment problem with hashtable locks on PowerPC


Jeff Sturm wrote:

>On Mon, 12 Nov 2001, Bryce McKinlay wrote:
>
>>At first I thought it was just the compiler not giving enough alignment 
>>for statically allocated class objects, which I fixed by setting 
>>TYPE_ALIGN for class_type_node in the compiler, but the GC also seems to 
>>be returning objects that are only 32-bit aligned!
>>
>
>A guess... is the trouble that POWERPC doesn't define ALIGN_DOUBLE?  Do
>we need something like the following:
>

Oh, yeah looks like thats it - thanks! I'll test that out tonight.

regards

Bryce.



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