hg: ppc-aix-port/jdk7u/hotspot: Fix native stack traces in hs_err files on Linux/PPC64
volker.simonis at gmail.com
volker.simonis at gmail.com
Tue Jan 15 10:05:58 PST 2013
Changeset: 857f328acf9a
Author: simonis
Date: 2013-01-15 18:05 +0000
URL: http://hg.openjdk.java.net/ppc-aix-port/jdk7u/hotspot/rev/857f328acf9a
Fix native stack traces in hs_err files on Linux/PPC64
We had to extend the ELF-decoder to take into account the function descriptor tables on PPC64.
On newer Linux systems (i.e. newer SLES9) the compiler does not generate symbol entries for functions in the '.text' segment. Instead, symbols for functions only point into the function descriptor table (i.e. the '.opd' section in the ELF file). In order to find the corresponding symbol for a certain address, we have to look up the real address and size of each function symbol in the function descriptor table.
See:
http://www.gelato.unsw.edu.au/IA64wiki/PPC64ABI
http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi-1.9.html#FUNC-DES
! src/os_cpu/linux_ppc/vm/os_linux_ppc.cpp
! src/share/vm/runtime/vm_version.cpp
! src/share/vm/utilities/elfFile.cpp
! src/share/vm/utilities/elfFile.hpp
! src/share/vm/utilities/elfSymbolTable.cpp
! src/share/vm/utilities/elfSymbolTable.hpp
More information about the ppc-aix-port-dev
mailing list