hg: ppc-aix-port/jdk7u/hotspot: Memory ordering: introduce functions to specify platform properties.

goetz.lindenmaier at sap.com goetz.lindenmaier at sap.com
Fri Oct 26 14:03:08 PDT 2012


Changeset: 0a8b00b578cb
Author:    Goetz Lindenmaier
Date:      2012-10-26 22:52 +0200
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/0a8b00b578cb

Memory ordering: introduce functions to specify platform properties.

Functions as store_store_is_ordered() say whether corresponding
instructions on this platform can be reordered.  Use these to
decide whether to emit memory barriers. Replaces platform
specific defines.

For zero, conservative properties are assumed.

! src/os_cpu/aix_ppc/vm/orderAccess_aix_ppc.inline.hpp
! src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp
! src/os_cpu/bsd_zero/vm/orderAccess_bsd_zero.inline.hpp
! src/os_cpu/linux_ppc/vm/orderAccess_linux_ppc.inline.hpp
! src/os_cpu/linux_sparc/vm/orderAccess_linux_sparc.inline.hpp
! src/os_cpu/linux_x86/vm/orderAccess_linux_x86.inline.hpp
! src/os_cpu/linux_zero/vm/orderAccess_linux_zero.inline.hpp
! src/os_cpu/solaris_sparc/vm/orderAccess_solaris_sparc.inline.hpp
! src/os_cpu/solaris_x86/vm/orderAccess_solaris_x86.inline.hpp
! src/os_cpu/windows_x86/vm/orderAccess_windows_x86.inline.hpp
! src/share/vm/runtime/orderAccess.hpp



More information about the ppc-aix-port-dev mailing list