IBM Support

IJ50877: JAVA JIT: INCORRECT ARGUMENT PASSED TO A JNI METHOD

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: The CICS Transaction Gateway logs show CTG8985E
    messages
    .
    Stack Trace: N/A
    .
    The issue was reported when using CICS Transaction Gateway on
    zOS and started appearing after upgrading to Java 8.0.8.5, but
    the issue is cross platform and it existed prior to 8.0.8.5. The
    issue could therefore appear on any J9 based JVM.
    

Local fix

  • The problem can be avoided with a minor performance impact by
    using the following java command line option:
    -Xjit:disableDirectToJNI
    This option will prevent the JIT from generating a direct to JNI
    which inlines the JNI call-out setup in a non-JNI method. With
    this option in place, the JIT will still build a JNI thunk to
    optimize the JNI call-out sequence, but it will not do so from
    within non-JNI method compilations.
    

Problem summary

  • The JIT was trying to make use of existing stack slots that had
    contained pointers to objects that are being now being passed as
    an argument to a JNI method, but in some rare cases the existing
    stack slot might have been reused to hold some other value
    resulting in an incorrect argument being passed to the JNI
    method.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ50877

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-04-16

  • Closed date

    2024-04-17

  • Last modified date

    2024-04-17

  • 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

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
19 April 2024