IBM Support

IV61660: DEADLOCK CAUSED BY SYNCHRONIZATION ISSUES IN LOGGER AND LOGMANAG ER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: Customer reports a deadlock issue caused by locks
    java/util/logging/LogManager and
    java/util/logging/LogManager$SystemLoggerContext.
    .
    Stack Trace: Thread-1:MonitorOwns Monitor Lock on
    java/util/logging/LogManager$SystemLoggerContext@0x000003FFDFC0C
    288/0x000003FFDFC0C2A0Waiting for Monitor Lock on
    java/util/logging/LogManager@0x000003FFDFC0C200/0x000003FFDFC0C2
    18Java Stackat
    java/util/logging/LogManager$LoggerContext.addLocalLogger(LogMan
    ager.java:860(Compiled Code))at
    java/util/logging/LogManager$SystemLoggerContext.demandLogger(Lo
    gManager.java:1050(Compiled Code))at
    java/util/logging/LogManager.demandSystemLogger(LogManager.java:
    985(Compiled Code))at
    java/util/logging/Logger.demandLogger(Logger.java:525)at
    java/util/logging/Logger.getLogger(Logger.java:410)Thread-2:Moni
    torOwns Monitor Lock on
    java/util/logging/LogManager@0x000003FFDFC0C200/0x000003FFDFC0C2
    18Waiting for Monitor Lock on
    java/util/logging/LogManager$SystemLoggerContext@0x000003FFDFC0C
    288/0x000003FFDFC0C2A0Java Stackat
    java/util/logging/LogManager.reset(LogManager.java:654(Compiled
    Code))at
    java/util/logging/LogManager.readConfigurationImpl(LogManager.ja
    va:569(Compiled Code))at
    java/util/logging/LogManager.readConfiguration(LogManager.java:6
    29)
    .
    N/A
    

Local fix

  • N/A
    

Problem summary

  • The problem is caused by the wrong order of getting the two
    locks(LogManager, LogManager$SystemLoggerContext).
    

Problem conclusion

  • Logging has been updated to ensure the lock of LogManager is
    always obtained prior to the lock of
    LogManager$SystemLoggerContext.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP2  (6.0.16.2)
       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

  • N/A
    

Comments

APAR Information

  • APAR number

    IV61660

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-17

  • Closed date

    2014-06-18

  • Last modified date

    2015-05-18

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
18 May 2015