]> gcc.gnu.org Git - gcc.git/commit
Hashtable synchronization for PowerPC.
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>
Sun, 10 Mar 2002 03:53:16 +0000 (03:53 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Sun, 10 Mar 2002 03:53:16 +0000 (03:53 +0000)
commit4559716751fbd3424466237af54537ed96a428c3
tree5162d3a3b9e4a79ea677ef38bb70205ec3da794b
parent828c1ddcccb797869894695f4bb37a6f7c43baa8
Hashtable synchronization for PowerPC.

libjava:
Hashtable synchronization for PowerPC.
* configure.in: Define SLOW_PTHREAD_SELF if configure.host set
slow_pthread_self. Set up symlink for sysdeps directory.
* configure: Rebuild.
* 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.
* prims.cc: 64-bit align static primitive class instances.
* 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 isenabled.

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

From-SVN: r50523
12 files changed:
boehm-gc/ChangeLog
boehm-gc/include/private/gc_priv.h
gcc/java/ChangeLog
gcc/java/decl.c
libjava/ChangeLog
libjava/configure
libjava/configure.host
libjava/configure.in
libjava/include/posix-threads.h
libjava/java/lang/natObject.cc
libjava/posix-threads.cc
libjava/prims.cc
This page took 0.066467 seconds and 5 git commands to generate.