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

java.lang.LinkageError from test java/lang/ThreadGroup/Stop.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Description

      java/lang/ThreadGroup/Stop.java
      test may fail with java.lang.LinkageError, intermittently.

      This starts happening since JDK9 build 129.
      With 9/b128, 9/b127 and 9/b125, 50,000 times of run, all pass
      With 9/b129, 8 (out of the total 50,000) times failed with following error.

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psandoz Paul Sandoz
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: