Generic Term | Replace with |
PMR | The full IBM PMR number (e.g. , PMR12345.b678.c000). |
Applications using IBM Java for AIX using Power 8 hardware with Power 8 mode enabled may generate process core dumps due to a known issue with event-based branching facility (EBB) and the enhanced performance monitoring unit (PMU).
IBM Java for AIX, versions 7.1 and 8.0, utilize the EBB facility and are susceptible to experiencing these application crashes. The most commonly reported scenario occurs when users attempt to use Live Partition Mobility (LPM) without stopping their Java processes. The active Java processes will terminate and generate process core dumps during the LPM activity.
This issue is an AIX issue (not IBM Java issue), so the issue can occur with any process that uses the EBB and/or PMU features. More advanced users with ability to analyze the dumps, can check for references to "MMCR0" register as cause of the issue from the core files.
There is a fix for this issue, however in cases when customers are unable to apply the fixes, there are work-arounds depending on their situation. The following table provides a list of work-arounds and solutions.
Java Version | Workaround | Fix |
Java 8 | Enable the Java command line option: -XX:-RuntimeInstrumentation |
Does not apply |
Java 7.1 | Enable the Java command line option: -Xjit:disableHardwareProfiling |
Does not apply |
Java 7 | Does not apply | Does not apply |
Java 6 | Does not apply | Does not apply |
AIX | Configure the LPAR to use Power 7 Compatibility mode |
Apply the APARs below |
Below is a list of workarounds that may resolve the issue as an alternative to applying an ifix:
AIX Workarounds:
1) Run in Power 7 Compatibility Mode as a temporary fix.
2) If migrating using LPM, stop the processes before the migration and restart them after the migration, to avoid processes from crashing.
Below is a list of workarounds that may resolve the issue as an alternative to applying an ifix:
1) AIX Workarounds:
a. Run in Power 7 Compatibility Mode as a temporary fix.
b. If migrating using LPM, stop the processes before the migration and restart them after the migration, to avoid processes from crashing.
2) IBM Java Workarounds:
a. Disable the RI facility by adding the JVM command line option to the java command of the crashing process(es):
-XX:-RuntimeInstrumentation
b. Disable hardware profiling by adding the JVM command line option to the java command of the crashing process(es):
-Xjit:disableHardwareProfiling
c. If using Java 7.1(prior to SR1), upgrade Java to SR2 or above to fix the issue as per:
IV65519: JAVA 7.1SR1 JIT SIGILL CRASH ON AIX WHEN RUNNING ON POWER8
Below is a list of workarounds that may resolve the issue as an alternative to applying an ifix:
AIX Work-arounds:
a. Run in Power 7 Compatibility Mode as a temporary fix.
To determine the processor mode, at the command prompt, execute the following command:
# prtconf | grep "Processor Implementation Mode"
CPU Compatibility Mopde can be changed to POWER 7 from the HMC through the LPAR properties, following the steps below:
i. Select the LPAR and deactivate it.
ii. Go to Configuration -> Manage Profiles.
iii. Select the profile that needs to be activated.
iv. Go to Processors, change the Processor compatibility mode to Power 7 and boot it using the same profile.
b. If migrating using LPM, stop the processes before the migration and restart them after the migration, to avoid processes from crashing.
For example, from a command line prompt, run the following commands to identify the Java applications using Java 7.1 or Java 8:
# ps -ef | grep java
For each command listed, work with the appropriate system's or application's administrator to temporarily shutdown these processes using Java 7.1 or Java 8, before using LPM and restart once LPM has completed.
IBM Java Work-arounds:
a. For IBM Java 8, disable the Runtime Instrumentation facility by adding the JVM command line option to the java command of the crashing process(es):
-XX:-RuntimeInstrumentation
b. For IBM Java 7.1, disable hardware profiling by adding the JVM command line option to the java command of the crashing process(es):
-Xjit:disableHardwareProfiling
If, after following the above instructions, the application continues to generate core dumps, please complete the following steps:
1. Confirm that you have completed all of the above steps.
2. Contact IBM and open a new IBM service request (new PMR).
3. Collect and upload data as per the data collection procedure for automatically generated process core dumps.
Document Type: | Instruction |
Content Type: | Howto |
Hardware: | Power 8 |
Operating System: | AIX 7.1 and 7.2 |
IBM Java: | Java 7.1 | Java 8.0 |
Author(s): | Vidya Makineedi |
Reviewer(s): | Roger Leuckie |