This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: static alignment and hash sync
- To: alk at pobox dot com
- Subject: Re: static alignment and hash sync
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Date: Fri, 8 Jun 2001 10:32:07 +1200
- Cc: java at gcc dot gnu dot org
On Friday, June 8, 2001, at 10:10 AM, Tony Kimball wrote:
> I am using gcc HEAD branch for a cygwin target.
> JV_HASH_SYNCHRONIZATION is enabled by the configure script. The
> monitor implementation appears to require double-aligned object
> pointers (to use the 3 low order bits as flags), but the static
> initializers for at least the _Jv_##type##Class objects allocate their
> objects on word-aligned boundaries. This results in assertion
> failures.
>
> Personally, I will work around this by disabling hash synchronization.
> I think the proper fix requires some discussion.
The hash synchronization is currently only supposed to be enabled on
Linux targets. If it is getting enabled for a cygwin target then I think
there is a configure error somewhere.
regards
[ bryce ]