IZ86719: ARRAYINDEXOUTOFBOUNDSEXCEPTION WHEN RUNNING MEMORY ANALYZER
Closed as program error.
Error Message: An unexpected ArrayIndexOutOfBoundsException is thrown when running the Eclipse Memory Analyzer. . Stack Trace: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException at org.eclipse.mat.collect.SetInt.resize(SetInt.java:236) at org.eclipse.mat.collect.SetInt.add(SetInt.java:58) at org.eclipse.mat.collect.SetInt.main(SetInt.java:252) . The problem exists, but won't occur when running on Java5, as the responsible optimization is not being used for all the purposes in this release as it is being used in later releases, and specifically, it is not being used for the case triggered by this test case. The optimization has been fixed in Java5 too never-the-less.
The failure can be avoided with the -Xjit:disableLookahead option.
The problem occurs when the Java JIT compiler performs the class lookahead optimization on a compiled method and some very specific circumstances occur, e.g. a private method of the same class as the compiled method is being called by the compiled method as well as by the class constructor, and that private method changes a class field, which happens to be used by the compiled method before and after the call to that method.
This defect will be fixed in: 6.0.0 SR9 5.0.0 SR13 . The optimization has been fixed to identify such situation and deal with it properly. . To obtain the fix: Install build 20101015 or later
Reported component name
JAVA 5 JIT
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA 5 JIT
Fixed component ID
Applicable component levels