VOOZH about

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

⇱ IJ57597: FORCED JVM TERMINATION MAY CAUSE ORPHANED MMAP SEGMENTS ON Z/OS DUE TO JIMAGE LOADING


IJ57597: FORCED JVM TERMINATION MAY CAUSE ORPHANED MMAP SEGMENTS ON Z/OS DUE TO JIMAGE LOADING

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: The Java stack trace of the problematic mmap()
    allocation is:
    jdk/internal/jimage/BasicImageReader.<init>(java.nio.file.Path,j
    ava.nio.ByteOrder)
    java.nio.MappedByteBuffer
    sun/nio/ch/FileChannelImpl.map(java.nio.channels.FileChannel$Map
    Mode, long, long)
    sun.nio.ch.FileChannelImpl$Unmapper
    sun/nio/ch/FileChannelImpl.mapInternal(java.nio.channels.FileCha
    nnel$MapMode, long, long, int, boolean)
    sun/nio/ch/FileChannelImpl.map0(int, long, long, boolean)
    .
    Applications running within a Java-enabled IMS region on z/OS
    may experience an out of memory condition due to orphaned
    subpool type 129 segments left by terminated JVMs within the
    same address space.
    

Local fix

  • This issue can be mitigated by setting the system property
    -Djdk.image.map.all=false. Note that this workaround may result
    in a minor, typically negligible, performance impact.
    

Problem summary

  • In certain circumstances, the Java class BasicImageReader may
    memory-map the 'lib/modules' jimage file (<TLD>170MB). On z/OS,
    mmap() allocates below-the-bar storage of subpool type 129 that
    persists at JOBSTEP level and may not be freed when the JVM
    terminates abnormally, resulting in a possible memory leak.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ57597

  • Reported component name

    OPENJDK CLASS L

  • Reported component ID

    621800100

  • Reported release

    L00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2026-03-11

  • Closed date

    2026-04-07

  • Last modified date

    2026-04-07

  • 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

    OPENJDK CLASS L

  • Fixed component ID

    621800100

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":"L00","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
07 April 2026