OSDN Git Service

libjava:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Mar 2002 03:31:08 +0000 (03:31 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 10 Mar 2002 03:31:08 +0000 (03:31 +0000)
commit4e0dde968cb4eb15f3bd1d84e752b9be057edba5
tree52c6bd2d7f1822d111578beb65b257f62c1d3114
parentc8834c5f4619b9de2da61567017a3b558a095c5f
libjava:
* configure.in: Define SLOW_PTHREAD_SELF if configure.host set
slow_pthread_self. Set up symlink for sysdeps directory.
* configure.host: Document more shell variables. Set sysdeps_dir
for most platforms. Set slow_pthread_self for i686. Set
enable_hash_synchronization_default and slow_pthread_self for PowerPC.
* posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
that memory barrier is emitted where required.
* include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
read_barrier() to enforce ordering of reads.
* sysdep/powerpc/locks.h: New file. Implementation of synchronization
primitives for PowerPC.
* sysdep/i386/locks.h: New file. Synchronization primitives for i386
moved from natObject.cc.
* sysdep/alpha/locks.h: Likewise.
* sysdep/ia64/locks.h: Likewise.
* sysdep/generic/locks.h: Likewise.
* java/lang/natObject.cc: Move thread synchronization primitives to
system-dependent headers.

gcc/java:
* decl.c (java_init_decl_processing): Make sure class_type_node
alignment is not less than 64 bits if hash synchronization is enabled.

boehm-gc:
* include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ
support is enabled, for hash synchronization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50518 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/sysdep/alpha/locks.h [new file with mode: 0644]
libjava/sysdep/generic/locks.h [new file with mode: 0644]
libjava/sysdep/i386/locks.h [new file with mode: 0644]
libjava/sysdep/ia64/locks.h [new file with mode: 0644]
libjava/sysdep/powerpc/locks.h [new file with mode: 0644]