IBM Support

IV49283: ARRAYINDEXOUTOFBOUNDSEXCEPTION THROWN WHEN VECTOR OBJECT IS MODI FIED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: An unexpected ArrayIndexOutOfBoundsException
    might be thrown by a Java program that calls Vector.size() both
    before and after a modification to the Vector object. The second
    call to Vector.size() would appear to return an out-of-date
    value, which would lead to the exception later on.
    The problem may be more likely to occur if the JVM is running in
    hot code replace (HCR) mode, e.g. when bytecode instrumentation
    is being done.
    .
    Stack Trace: N/A
    .
    

Local fix

  • This issue can be avoided with the -Xjit:disableIPA option.
    

Problem summary

  • The problem is caused by the JIT compiler which attempts to
    perform inter-procedural analysis (IPA) on certain method calls
    that are ineligible for IPA. The result of the invalid analysis
    causes methods (e.g. Vector.size()) to be inlined into their
    callers and optimized incorrectly. The problem may be triggered
    more easily in HCR mode, because all non-native Java methods are
    ineligible for IPA in this mode.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR15
    6.0.1 SR7
    7.0.0 SR6
    5.0.0 SR16 FP4
    .
    The JIT compiler has been updated to abort IPA correctly when it
    encounters ineligible method calls.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV49283

  • 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

    2013-09-17

  • Closed date

    2013-09-17

  • Last modified date

    2013-09-17

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

    IV49282

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

       UP

[{"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":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 September 2013