This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Alignment problem with hashtable locks on PowerPC
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: Alignment problem with hashtable locks on PowerPC
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Mon, 12 Nov 2001 11:40:19 +1300
- Cc: "Boehm, Hans" <hans_boehm at hp dot com>, java-patches at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10111110959590.23836-100000@mars.deadcafe.org>
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.