IBM Support

PH51751: JAVAINTEROP IMPROVEMENTS IN THE COBOL RUNTIME (JANUARY 2023)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • This APAR provides improvements to JavaInterop in the COBOL
    runtime.
     
    
    
    - Improve the way Java resources are cleaned up when COBOL
    makes calls to Java, to ensure there are no resource leaks.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 6.4 running        *
    *                 programs that use non-OO COBOL/Java          *
    *                 interoperability support to make repeated    *
    *                 calls to static Java methods using the CALL  *
    *                 statement, passing array or zoned/packed     *
    *                 decimal data items as arguments.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: The application terminates with         *
    *                      out-of-memory condition. The failure    *
    *                      output might vary and one of the        *
    *                      symptoms can be:                        *
    *                                                              *
    *                      Exception in thread "main"              *
    *                      java/lang/OutOfMemoryError:             *
    *                      Java heap space                         *
    *                      at java/lang/VMAccess.findClassOrNull   *
    *                       (NativeMethod:4294967295)              *
    *                      at java/lang/VMAccess.findClassOrNull   *
    *                       Helper (VMAccess.java:55)              *
    *                      at com/ibm/oti/vm/BootstrapClassLoader. *
    *                      loadClass                               *
    *                       (BootstrapClassLoader.java:81)         *
    ****************************************************************
    * RECOMMENDATION: Apply the IBM-provided PTF                   *
    ****************************************************************
    When making calls to static Java methods from COBOL, local
    references relating to the processing of array and zoned/packed
    decimal arguments were not being cleaned up properly.
    
    COB0604T/K
    

Problem conclusion

  • The runtime was updated to ensure that local references for
    various Java objects are cleaned up after a CALL statement is
    used to call a static Java method with array or zoned/packed
    decimal arguments.
    
    Note that a program must be compiled with an Enterprise COBOL
    6.4 compiler with the PTF(s) for APAR PH51749 installed in order
    to receive the full fix for this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH51751

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    7D0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2023-01-06

  • Closed date

    2023-01-18

  • Last modified date

    2023-02-01

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

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

    UI90123 UI90124

Modules/Macros

  • IGZCEV4  IGZCJNI2 IGZLLIBV IGZXAPI  IGZXCA31 IGZXCDA  IGZXD24
    IGZXDMR  IGZXJNI2 IGZXLPIO IGZXLPKA IGZXLPKB IGZXLPKC IGZXLPKD
    IGZXLPKE IGZXLPKF IGZXLPKG IGZXPK2
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R7C0 PSY UI90123

       UP23/01/24 P F301  

  • R7D0 PSY UI90124

       UP23/01/24 P F301  

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7D0","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
01 February 2023