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

java/lang/ThreadGroup/Stop.java: fails java.lang.ThreadDeath

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      java/lang/ThreadGroup/Stop.java may fail with java.lang.ThreadDeath:

      java.lang.LinkageError
      at java.lang.invoke.MethodHandleNatives.linkMethodImpl(java.base@9-internal/MethodHandleNatives.java:386)
      at java.lang.invoke.MethodHandleNatives.linkMethod(java.base@9-internal/MethodHandleNatives.java:366)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$Node.compareAndSetWaitStatus(java.base@9-internal/AbstractQueuedSynchronizer.java:521)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.doReleaseShared(java.base@9-internal/AbstractQueuedSynchronizer.java:727)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(java.base@9-internal/AbstractQueuedSynchronizer.java:1369)
      at java.util.concurrent.CountDownLatch.countDown(java.base@9-internal/CountDownLatch.java:292)
      at Stop.lambda$main$0(Stop.java:40)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
      Caused by: java.lang.ThreadDeath
      at java.lang.Thread.stop(java.base@9-internal/Thread.java:948)
      at java.lang.ThreadGroup.stopOrSuspend(java.base@9-internal/ThreadGroup.java:698)
      at java.lang.ThreadGroup.stop(java.base@9-internal/ThreadGroup.java:610)
      at Stop.lambda$main$1(Stop.java:56)
      ... 1 more


      The failure was observed only twice with JDK9:
      on linux-x64 and on macOS

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chegar Chris Hegarty
                Reporter:
                dfazunen Dmitry Fazunenko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: