IBM Support

IV65392: CRASH IN GC IF -XTRACE HEAPDUMP TRIGGER SET ON TRACEPOINT J9MM.1 48

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java -Xmx1m
    "-Xtrace:trigger=tpnid{j9mm.148,heapdump,,1}"
    -versionOutput:JVMDUMP034I User requested Heap dump using
    '/home/parselva/heapdump.20140523.181250.11627.0001.phd' through
    -Xtrace:triggerJVMDUMP010I Heap dump written to
    /home/parselva/heapdump.20140523.181250.11627.0001.phdUnhandled
    exceptionType=Segmentation error
    vmState=0x00020015Module=/usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x
    86_64/jre/lib/amd64/compressedrefs/libj9gc26.soModule_base_addre
    ss=00007FF4485AC000Target=2_60_20140106_181350 (Linux
    2.6.32-431.17.1.el6.x86_64)
    .
    Stack Trace: #11 signal handler called....#12 0x00007ff44862dac1
    in MM_Scavenger::reportGCCycleStart(MM_EnvironmentModron*)
    ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#13 0x00007ff44862dd09 in
    MM_Scavenger::masterThreadGarbageCollect(MM_EnvironmentModron*)
    ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#14 0x00007ff44862e837 in
    MM_Scavenger::internalGarbageCollect(MM_EnvironmentModron*,
    MM_MemorySubSpace*, MM_AllocateDescription*) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#15 0x00007ff448613d7c in
    MM_ParallelScavenger::internalGarbageCollect(MM_EnvironmentModro
    n*, MM_MemorySubSpace*, MM_AllocateDescription*) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#16 0x00007ff4485e5e58 in
    MM_Collector::garbageCollect(MM_EnvironmentModron*,
    MM_MemorySubSpace*, MM_AllocateDescription*, unsigned int,
    MM_ObjectAllocationInterface*, MM_MemorySubSpace*,
    MM_AllocationContext*) () from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#17 0x00007ff44872bd92 in
    MM_MemorySubSpaceSemiSpace::allocationRequestFailed(MM_Environme
    ntModron*, MM_AllocateDescription*,
    MM_MemorySubSpace::AllocationType,
    MM_ObjectAllocationInterface*, MM_MemorySubSpace*,
    MM_MemorySubSpace*) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#18 0x00007ff4487332cb in
    MM_TLHAllocationInterface::refresh(MM_EnvironmentModron*,
    MM_AllocateDescription*, bool) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#19 0x00007ff448733486 in
    MM_TLHAllocationInterface::allocateFromTLH(MM_EnvironmentModron*
    , MM_AllocateDescription*, bool) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#20 0x00007ff448733839 in
    MM_TLHAllocationInterface::allocateObject(MM_EnvironmentModron*,
    MM_AllocateDescription*, MM_MemorySpace*, bool) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#21 0x00007ff448736937 in
    MM_ArrayletAllocationModel::allocateAndInitializeLayout(MM_Memor
    ySpace*, MM_EnvironmentModron*, MM_AllocateDescription*,
    unsigned int, bool) () from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#22 0x00007ff448736c10 in
    MM_ArrayletAllocationModel::allocateIndexableObject(MM_Environme
    ntModron*, MM_AllocateDescription*, unsigned int, bool) ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#23 0x00007ff4485f1519 in
    J9AllocateIndexableObject () from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9gc26.so#24 0x00007ff447ef9d0c in
    Java_java_security_AccessController_getProtectionDomains ()from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libjclse7b_26.so#25 0x00007ff44fd970da in
    VMprJavaSendNative () from
    /usr/lib/jvm/java-1.7.0-ibm-1.7.0.6.1.x86_64/jre/lib/amd64/compr
    essedrefs/libj9vm26.so
    .
    

Local fix

  • Disable the GC compaction that is performed in preparation for
    the heapdump by specifying the following
    option:-Xdump:heap:defaults:request=exclusive+prepwalk
    

Problem summary

  • The problem is caused when triggering a heapdump from a GC
    tracepoint while GC is running.
    

Problem conclusion

  • The heapdump preparation code in the JVM has been updated to
    avoid making the GC compaction request while a GC is in
    progress.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR8       (7.0.8.0)
       7 R1 SR2       (7.1.2.0)
       6 R1 SR8 FP2   (6.1.8.2)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV65392

  • 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

    2014-09-30

  • Closed date

    2014-09-30

  • Last modified date

    2014-09-30

  • 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