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

ReservedStack test fails with Framework got StackOverflowError

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot

      Description

      Framework got StackOverflowError at frame = 1227
      Test started execution at frame = 971
      PASSED

      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.compareAndSetState(java.base@9-internal/AbstractQueuedSynchronizer.java:600)
      at java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(java.base@9-internal/ReentrantLock.java:130)
      at java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(java.base@9-internal/ReentrantLock.java:199)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@9-internal/AbstractQueuedSynchronizer.java:1225)
      at java.util.concurrent.locks.ReentrantLock.lock(java.base@9-internal/ReentrantLock.java:267)
      at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:169)
      at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:170)
      at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:170)
      ...
      Caused by: java.lang.StackOverflowError
      at java.util.Arrays.equals(java.base@9-internal/Arrays.java:3186)
      at java.lang.invoke.MethodType.equals(java.base@9-internal/MethodType.java:771)
      at java.lang.invoke.MethodType.equals(java.base@9-internal/MethodType.java:766)
      at java.lang.invoke.MethodType$ConcurrentWeakInternSet$WeakEntry.equals(java.base@9-internal/MethodType.java:1314)
      at java.util.concurrent.ConcurrentHashMap.get(java.base@9-internal/ConcurrentHashMap.java:958)
      at java.lang.invoke.MethodType$ConcurrentWeakInternSet.get(java.base@9-internal/MethodType.java:1252)
      at java.lang.invoke.MethodType.makeImpl(java.base@9-internal/MethodType.java:305)
      at java.lang.invoke.MethodType.insertParameterTypes(java.base@9-internal/MethodType.java:403)
      at java.lang.invoke.MethodType.appendParameterTypes(java.base@9-internal/MethodType.java:416)
      at java.lang.invoke.MethodHandleNatives.varHandleOperationLinkerMethod(java.base@9-internal/MethodHandleNatives.java:448)
      at java.lang.invoke.MethodHandleNatives.linkMethodImpl(java.base@9-internal/MethodHandleNatives.java:378)
      at java.lang.invoke.MethodHandleNatives.linkMethod(java.base@9-internal/MethodHandleNatives.java:366)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetState(java.base@9-internal/AbstractQueuedSynchronizer.java:600)
      at java.util.concurrent.locks.ReentrantLock$Sync.nonfairTryAcquire(java.base@9-internal/ReentrantLock.java:130)
      at java.util.concurrent.locks.ReentrantLock$NonfairSync.tryAcquire(java.base@9-internal/ReentrantLock.java:199)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(java.base@9-internal/AbstractQueuedSynchronizer.java:1225)
      at java.util.concurrent.locks.ReentrantLock.lock(java.base@9-internal/ReentrantLock.java:267)
      at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:169)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fparain Frederic Parain
                Reporter:
                jprovino Joseph Provino (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: