Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6977677

Deadlock on logging subsystem initialization

XMLWordPrintable

    • b74
    • 7
    • b143
    • generic
    • generic
    • Verified

      A stress test running several logging tests hangs. One of threads has this stack trace:
         JavaThread state: _thread_blocked
              at java.util.logging.Logger.getLogger(Logger.java:300)
              - waiting to lock <0xfffffd7f75925610> (a java.lang.Class for java.util.logging.Logger)
              at java.util.logging.LoggingProxyImpl.getLogger(LoggingProxyImpl.java:40)
              at sun.util.logging.LoggingSupport.getLogger(LoggingSupport.java:99)
              at sun.util.logging.PlatformLogger$JavaLogger.<init>(PlatformLogger.java:516)
              at sun.util.logging.PlatformLogger.newJavaLogger(PlatformLogger.java:155)
              at sun.util.logging.PlatformLogger.redirectPlatformLoggers(PlatformLogger.java:146)
              - locked <0xfffffd7f75f10e18> (a java.lang.Class for sun.util.logging.PlatformLogger)
              at java.util.logging.LogManager$2.run(LogManager.java:289)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:284)
              - locked <0xfffffd7f7a587110> (a java.util.logging.LogManager)
              at java.util.logging.LogManager.getLogManager(LogManager.java:267)
              at java.util.logging.Logger.<init>(Logger.java:247)
              at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1101)
              at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:1098)
              at java.util.logging.LogManager$1.run(LogManager.java:199)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.util.logging.LogManager.<clinit>(LogManager.java:176)
              at java.util.logging.Handler.<init>(Handler.java:50)
              at javasoft.sqe.tests.api.java.util.logging.Handler.MyHandler.<init>(MyHandler.java:34)
              at javasoft.sqe.tests.api.java.util.logging.Handler.LevelTests.Handler0005(LevelTests.java:48)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:613)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:406)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
              at nsk.stress.share.StressTest$TestThread.runTest(StressTest.java:739)
              at nsk.stress.share.StressTest$TestThread.run(StressTest.java:755)

            dcubed Daniel Daugherty
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: