hg: ppc-aix-port/jdk7u/hotspot: 2 new changesets

goetz.lindenmaier at sap.com goetz.lindenmaier at sap.com
Mon Jul 16 02:07:45 PDT 2012


Changeset: d65d0876ab43
Author:    Goetz Lindenmaier
Date:      2012-07-16 10:12 +0200
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/d65d0876ab43

Implement printing CodeComments in stubs.

The interpreter contains various long assembly code parts which
are stored as stubs.  The output of +PrintInterpreter is unstructured
und thus not easy to read. This can be improved with CodeComments
of the MacroAssembler. So far they were lost when the code is turned
into a Stub, while they were kept if the code is copied to a CodeBlob.
Implemented storing the CodeComments in stubs and added support to
pass them to the disasembler.

! src/share/vm/asm/codeBuffer.cpp
! src/share/vm/asm/codeBuffer.hpp
! src/share/vm/code/codeBlob.hpp
! src/share/vm/code/icBuffer.hpp
! src/share/vm/code/nmethod.cpp
! src/share/vm/code/nmethod.hpp
! src/share/vm/code/stubs.cpp
! src/share/vm/code/stubs.hpp
! src/share/vm/compiler/disassembler.cpp
! src/share/vm/compiler/disassembler.hpp
! src/share/vm/interpreter/interpreter.cpp
! src/share/vm/interpreter/interpreter.hpp

Changeset: 32adc35fce30
Author:    Goetz Lindenmaier
Date:      2012-07-16 10:21 +0200
URL:       http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/32adc35fce30

Trampoline relocations.

A trampoline allows to encode a small branch in the code, even if there
is the chance that this branch can not reach all possible code locations.
If the relocation finds that a branch is too far for the instruction
in the code, it can patch it to jump to the trampoline where is
sufficient space for a far branch.  Needed on PPC.

! src/share/vm/code/relocInfo.cpp
! src/share/vm/code/relocInfo.hpp



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