IBM Support

IV72100: JAVA VM HANGS ON SHUTDOWN WHEN FINALIZER THREAD SUSPENDED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    In the failure situation, a JVMTI agent suspends the Java VM
    finalizer daemon thread. All application threads terminate
    causing the Java VM to start the shutdown sequence, including
    terminating the JVMTI subsystem.The JVMTI agent is now unable
    resume the finalizer thread.The Java VM hangs waiting for the
    finalizer thread to terminate.
    

Local fix

  • It is strongly recommended that system threads such as the
    finalizer, JIT and garbage collector threads, etc. not be
    suspended, either using JVMTI SuspendThread() or
    SuspendThreadList(), or the deprecated Thread.suspend(), as this
    can have unpredictable effects.Note that it is not necessary to
    suspend threads when getting their stack traces via JVMTI
    GetStackTrace(), Thread.getStackTrace() and related functions.
    

Problem summary

  • The Java VM hangs on shutdown when finalizer thread is
    suspended.
    

Problem conclusion

  • The Java VM will terminate if the finalizer thread is suspended
    at VM shutdown.  This prevents some normal JVM shutdown
    procedures from running, and may cause the JVM to leak memory at
    shutdown.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP7  (6.0.16.7)
       7    SR9 FP10  (7.0.9.10)
       8    SR1 FP10  (8.0.1.10)
       6 R1 SR8 FP7   (6.1.8.7)
       7 R1 SR3 FP10  (7.1.3.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

    IV72100

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-13

  • Closed date

    2015-04-17

  • Last modified date

    2015-08-25

  • 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

  • R600 PSY

       UP

  • R260 PSY

       UP

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 August 2015