static alignment and hash sync

Tony Kimball alk@pobox.com
Thu Jun 7 15:10:00 GMT 2001


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /