VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ50196

⇱ IJ50196: INCREASED CPU USAGE WHEN INVOKING JAVA INVOCATION APIS


IJ50196: INCREASED CPU USAGE WHEN INVOKING JAVA INVOCATION APIS

APAR status

  • Closed as program error.

Error description

  • Error Message: Increased CPU usage and file I/O observed when
    invoking Java Invocation APIs from 31-bit native
     code to 64-bit Java Virtual Machines on z/OS.
    .
    Stack Trace: N/A
    .
    This issue is observed on z/OS only for 31-bit native code
    invoking 64-bit Java Virtual Machines
     functions.
    

Local fix

  • Recompile the native libraries to 64-bit, if possible.
    

Problem summary

  • On each invocation of the following APIs, the 31-bit libjvm31
    wrapper library will re-query the target function
     pointer, which results in additional DLL load and query
    operations.
     - AttachCurrentThread
     - AttachCurrentThreadAsDaemon
     - DestroyJavaVM
     - DetachCurrentThread
     - GetEnv
     - GetStringPlatform
     - GetStringPlatformLength
     - NewStringPlatform
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ50196

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-02-21

  • Closed date

    2024-05-08

  • Last modified date

    2024-05-08

  • 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

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

Document Information

Modified date:
09 May 2024