IV02757: A 'FINAL' FIELD IS NOT INITIALIZED INSIDE AN OBJECT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: Could be any syndrom (NPE, incorrect output etc)
    related to an uninitialized Final field in a multi-threaded
    environment.
    e.g.
    j> 06:00:02 java.lang.NullPointerException
    j> 06:00:02  at java.util.Random.next(Random.java:181)
    j> 06:00:02  at java.util.Random.nextInt(Random.java:301)
    j> 06:00:02  at
    tests.com.ibm.jtc.concurrent.locks.ReentrantLockTest.testStress(
    ReentrantLockTest.java:346)
    .
    Stack Trace: N/A
    .
    seen on z/OS and Linux on Z
    

Local fix

  • -Xjit:disableScheduling turns off the instruction scheduler and
    provides a workaround. However this might impact performance of
    some programs significantly.
    

Problem summary

  • The 390 instruction scheduler incorrectly reordered two Store
    instructions and as a result we exposed an object (to other
    threads) before finish initializing its Final field. This is
    visible in a multi-threaded environment only.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR13
    6.0.0 SR10
    6.0.1 SR1
    .
    The JVM has been updated to prevent scheduler from reordering
    the stores instructions.
    .
    To obtain the fix:
    Install build 20110628 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV02757

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-30

  • Closed date

    2011-06-30

  • Last modified date

    2011-06-30

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

    IV02756

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

Fix information

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R600 PSN

       UP

  • R260 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Just In Time (JIT) Compiler

Software version:

6.0

Reference #:

IV02757

Modified date:

2011-06-30

Translate my page

Machine Translation

Content navigation