IV07653: JAVA JIT: CRASH IN JITWALKFRAME() DURING A GC CYCLE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: SIGSEGV in JIT library running jitWalkFrame()
    .
    Stack Trace: {libj9jit24.so}{jitWalkFrame}
    {libj9jit24.so}{jitWalkStackFrames}
    {libj9vm24.so}{walkStackFrames}
    {libj9gc24.so}{scanSlots__28GC_VMThreadStackSlotIterator...}
    {libj9gc24.so}{scanOneThread__14MM_RootScanner...}
    {libj9gc24.so}{scanThreads__14MM_RootScanner...}
    {libj9gc24.so}{scanRoots__14MM_RootScanner...}
    {libj9gc24.so}{markRoots__16MM_MarkingScheme...}
    {libj9gc24.so}{markLiveObjects__16MM_MarkingScheme...}
    {libj9gc24.so}{run__19MM_ParallelMarkTask...}
    .
    

Local fix

  • You can avoid the problem by using the following java command
    line parameter:
    -Xjit:disableNewInstanceImplOpt
    Note: Using this option will have a small effect on performance.
    The degree of the effect is based on how frequently the
    Class.newInstance() API is used by the java application.
    

Problem summary

  • The JIT can compile helper routines to optimize calls to the
    Class.newInstance() API. If the JIT compiles a helper to
    optimize the case where Class.newInstance() is called against an
    array class and a GC is triggered when that helper is executing,
    the stack walker will crash with a SIGSEGV.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR13
    6.0.0 SR10
    6.0.1 SR1
    7.0.0 SR1
    .
    The JIT was modified so that it will refuse to compile
    Class.newInstance() helpers against array classes
    .
    To obtain the fix:
    Install build 20110909 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV07653

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-15

  • Closed date

    2011-09-20

  • Last modified date

    2012-05-28

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

    IV07652

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

Fix information

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R600 PSY

       UP

  • R260 PSY

       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 #:

IV07653

Modified date:

2012-05-28

Translate my page

Machine Translation

Content navigation