IBM Support

IV79708: HANG IN JVM TRACE ENGINE DURING SHUTDOWN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: JVM hangs during shutdown, when using -Xtrace
    options to write trace data to a file.
    .
    Stack Trace: ZwWaitForSingleObject+0x15 (0x7751F891
    <OSB>ntdll+0x1f891<CSB>)
    WaitForSingleObjectEx+0x43 (0x76DA1194
    <OSB>kernel32+0x11194<CSB>)
    WaitForSingleObject+0x12 (0x76DA1148 <OSB>kernel32+0x11148<CSB>)
    monitor_wait_original+0x329 (0x00033939
    <OSB>J9THR24+0x3939<CSB>)
    j9thread_init+0x2a (0x000330BA <OSB>J9THR24+0x30ba<CSB>)
    twEventWait+0x29 (0x003E14C9 <OSB>j9trc24+0x14c9<CSB>)
    waitEvent+0x14 (0x6981CE44 <OSB>j9ute24+0xce44<CSB>)
    utsTerminate+0x24f (0x69811D0F <OSB>j9ute24+0x1d0f<CSB>)
    reportVMTermination+0x1e (0x003E2A7E <OSB>j9trc24+0x2a7e<CSB>)
    J9VMDllMain+0xa50 (0x003E4350 <OSB>j9trc24+0x4350<CSB>)
    runJ9VMDllMain+0xcd (0x0029752D <OSB>j9vm24+0x2752d<CSB>)
    runShutdownStageJvmtiFirst+0x4e (0x0029760E j9vm24+0x2760e<CSB>)
    runShutdownStage+0x47 (0x0029B9E7 <OSB>j9vm24+0x2b9e7<CSB>)
    runExitStages+0x47 (0x0029C3F7 <OSB>j9vm24+0x2c3f7<CSB>)
    exitJavaVM+0x141 (0x0029C971 <OSB>j9vm24+0x2c971<CSB>)
    .
    JVM trace options in use:
    -Xtrace:maximal={j9vm,mt},methods={*.*()},suspend,trigger=method
    {java/lang/Shutdown.sequence,resume},output=output.trc
    

Local fix

Problem summary

  • The problem is caused when the trace file writing thread fails
    to terminate correctly.
    

Problem conclusion

  • The JVM has been updated to prevent the JVM from hanging if the
    trace file writing thread fails to terminate correctly.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2 FP10  (8.0.2.10)
    .
    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

    IV79708

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-12-11

  • Closed date

    2015-12-11

  • Last modified date

    2015-12-11

  • 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

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

Document Information

Modified date:
22 February 2022