IBM Support

IV73677: REMOVE ASSERTION ON CHECK OF PARAMETERS FOR JNI CALL OF RELEASEP RIMITIVEARRAYCRITICAL()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: 19:54:56.931 0xa15c500    j9mm.107    *   **
    ASSERTION FAILED ** at StandardAccessBarrier.cpp:311: ((false &&
    (elems == getArrayObjectDataAddress(vmThread, arrayObject))))
    .
    Stack Trace: N/A
    .
    

Local fix

  • Non
    

Problem summary

  • According JNI Functions Specification for JNI call "void
    ReleasePrimitiveArrayCritical(JNIEnv *env, jarray array, void
    *carray, jint mode);" parameter carray must have exact value
    returned by correspondent GetPrimitiveArrayCritical() call. If
    passed value of carray is not correct it can be a reason of
    various failures. An assertion however has been triggered on any
    detection of problem in JNI call including wrong but harmless
    cases. Again this assertion is triggered on detection of the
    problem located outside of JVM (native code). Such problem can
    be detected by running JVM with option -Xcheck:jni
    

Problem conclusion

  • The triggering of assertion has been removed for harmless (still
    wrong but can not be a reason for failure) cases
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP 10 (7.0.9.10)
       8    SR1 FP10  (8.0.1.10)
       7 R1 SR3 FP10  (7.1.3.10)
       6 R1 SR8 FP7   (6.1.8.7)
    .
    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

    IV73677

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-28

  • Closed date

    2015-05-28

  • Last modified date

    2015-06-29

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

  • R270 PSY

       UP

[{"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":"6.1","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022