APAR status
Closed as program error.
Error description
Error Message: A SIGSEGV or GPF is raised in libj9vm26.so on POWER platforms (Linux or AIX), when a Java program tries to throw an exception. . Stack Trace: java/lang/J9VMInternals.getStackTrace(Native Method) java/lang/Throwable.getInternalStackTrace(Throwable.java:208(Com piled Code)) java/lang/Throwable.printStackTrace(Throwable.java:399(Compiled Code)) java/lang/Throwable.printStackTrace(Throwable.java:245(Compiled Code)) Native stack trace: #12 getOriginalROMMethod #13 iterateStackTrace #14 getStackTrace #15 java_lang_J9VMInternals_getStackTrace .
Local fix
This problem can be avoided with the JVM option -Xnoclassgc but this might result in a memory leak if dynamic class loading is in use. The problem can also be avoided by preventing the JIT compiler from inlining methods that could be unloaded without the root method also being unloaded at the same time. We believe that the following option will have that effect with a performance penalty of less then 20%: -Xjit:disableVirtualInlining A more conservative work-around would be to disable inlining entirely: -Xjit:disableInlining
Problem summary
The problem is caused by the JIT compiler incorrectly handling unloaded methods on POWER platforms.
Problem conclusion
This defect will be addressed by APAR IV47046 for Java 6, Java 6.0.1, and Java 7.
Temporary fix
Comments
APAR Information
APAR number
IV39798
Reported component name
JIT
Reported component ID
620700124
Reported release
260
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-04-14
Closed date
2013-04-16
Last modified date
2013-08-26
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JIT
Fixed component ID
620700124
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
26 August 2013