IBM Support

IJ30307: AN ASSERT IN OMRCONSTANTDATASNIPPET.HPP MAY TRIGGER

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 assert message of the form
    "instr4->getBinaryEncoding() == instr1->getBinaryEncoding() +
    16"
    VMState: 0x0005ff0a
        Instruction 0x7fff8a02e6f0 <OSB>lfd<CSB> (generated from
    node 0x7fff89bf5870 <OSB>dconst<CSB>): Unexpected
    ConstantDataSnippet load sequence
    compiling
    org/apache/derby/exe/aced8940a7x0175xc997x60e7x00000040d8183.cre
    ateResultSet()Lorg/apache/derby/iapi/sql/ResultSet; at level:
    warm
    .
    Stack Trace: #0:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x8b936
    4) <OSB>0x7fff9bc29364<CSB>
    #1:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x8c96f
    4) <OSB>0x7fff9bc396f4<CSB>
    #2:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x56592
    4) <OSB>0x7fff9b8d5924<CSB>
    #3:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x56658
    8) <OSB>0x7fff9b8d6588<CSB>
    #4:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x92793
    0) <OSB>0x7fff9bc97930<CSB>
    #5:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x91c8d
    c) <OSB>0x7fff9bc8c8dc<CSB>
    #6:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x4c9be
    8) <OSB>0x7fff9b839be8<CSB>
    #7:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x4d2c1
    c) <OSB>0x7fff9b842c1c<CSB>
    #8:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x4d206
    c) <OSB>0x7fff9b84206c<CSB>
    #9:
    /home/jazz_build/Build/jbe/jvms/ibm-java-ws-sdk-pxl6480sr6fp20-2
    0201103_01/jre/lib/ppc64le/compressedrefs/libj9jit29.so(+0x4cf50
    4) <OSB>0x7fff9b83f504<CSB>
    ...
    .
    This issue only occurs on Power
    

Local fix

  • Use -Xjit:exclude={<method name>} where <method name> is
    the name
    of the method being compiled printed in the error message. For
    example, for the case above it would be:
    -Xjit:exclude={org/apache/derby/exe/aced8940a7x0175xc997x60e7x00
    000040d8183.createResultSet()Lorg/apache/derby/iapi/sql/ResultSe
    t;}
    Multiple methods can be separated with <PIPE>
    

Problem summary

  • When generating code for accessing constant data, a sequence of
    instructions is generated that later needs to be patched. The
    Assert was added to detect potential defects when some other
    instructions are inserted in the middle of the patch sequence,
    in particular, extra instructions can be inserted for register
    spills
    

Problem conclusion

  • A code was added to avoid register spills in the middle of the
    code sequence that needs to be patched
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP25  (8.0.6.25)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ30307

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-14

  • Closed date

    2021-01-14

  • Last modified date

    2021-01-25

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

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

Fix information

  • Fixed component name

    JIT

  • Fixed component ID

    620700124

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130"}]

Document Information

Modified date:
26 January 2021