JDK-8163295 : ReservedStackTest.java failed with java.lang.LinkageError
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: aarch64
  • Submitted: 2016-08-05
  • Updated: 2016-08-05
  • Resolved: 2016-08-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
This test failed on Aug 4 during jdk9/hs nightly testing on the aarch64 platform.

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)
	at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:170)
	at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:170)
	at ReservedStackTest$ReentrantLockTest.lockAndCall(ReservedStackTest.java:170)

<snip>

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)
	... 1006 more