Skip to main content

IZ86719: ARRAYINDEXOUTOFBOUNDSEXCEPTION WHEN RUNNING MEMORY ANALYZER


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • 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.
    

Local fix

  • The failure can be avoided with the -Xjit:disableLookahead
    option.
    

Problem summary

  • 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.
    

Problem conclusion

  • 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
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ86719

  • Reported component name

    JAVA 5 JIT

  • Reported component ID

    620500124

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-15

  • Closed date

    2010-10-21

  • Last modified date

    2010-10-21

  • APAR is sysrouted FROM one or more of the following:

    IZ86717

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 JIT

  • Fixed component ID

    620500124

Applicable component levels

  • R500 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Just In Time (JIT) Compiler


Software version:
5.0


Reference #:
IZ86719


Modified date:
2010-10-21

Translate my page

Content navigation