hg: ppc-aix-port/jdk7u/hotspot: opto/ppc: trap based null and range checks

goetz.lindenmaier at sap.com goetz.lindenmaier at sap.com
Wed Feb 13 06:10:49 PST 2013


Changeset: 475f3686499a
Author:    Goetz
Date:      2013-02-12 22:59 +0100
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/475f3686499a

opto/ppc: trap based null and range checks

PPC has the tdi instruction that does a compare and raises SIGTRAP
if the compare is successful.
With this instruction conditional branches leading to uncommon
traps can be implemented very efficiently.
This is especially needed on aix, where there are almost no
possibilities for ImplicitNullChecks as the zero page is not
protected.
On linux, this accounts for about 2% jvm2008 performance.

! src/cpu/ppc/vm/assembler_ppc.hpp
! src/cpu/ppc/vm/assembler_ppc.inline.hpp
! src/cpu/ppc/vm/ppc.ad
! src/os_cpu/aix_ppc/vm/os_aix_ppc.cpp
! src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp
! src/share/vm/adlc/main.cpp
! src/share/vm/adlc/output_h.cpp
! src/share/vm/opto/block.cpp
! src/share/vm/opto/node.hpp
! src/share/vm/opto/output.cpp
! src/share/vm/runtime/sharedRuntime.cpp
! src/share/vm/runtime/sharedRuntime.hpp



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