hg: ppc-aix-port/jdk7u/hotspot: opto: specify offset of IC load in java_to_interp stub.

goetz.lindenmaier at sap.com goetz.lindenmaier at sap.com
Wed Nov 14 01:48:40 PST 2012


Changeset: c6f9c897ea33
Author:    Goetz
Date:      2012-11-14 10:43 +0100
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/c6f9c897ea33

opto: specify offset of IC load in java_to_interp stub.

If a compiled static call calls the interpreter, it jumps past a
java_to_interp stub in the compiled code. Patching this call must
find the load of the IC. So far the code assumed this is the
first instruction in the stub.
This might not be the case if, for example, the base of the constant
table (toc) must be loaded.
Extend CompiledStaticCall to consider an offset from it's beginning
where to search the load of the IC.

! src/cpu/ppc/vm/ppc.ad
! src/cpu/sparc/vm/sparc.ad
! src/cpu/x86/vm/x86_32.ad
! src/cpu/x86/vm/x86_64.ad
! src/share/vm/adlc/main.cpp
! src/share/vm/code/compiledIC.cpp
! src/share/vm/code/compiledIC.hpp



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