JDK-8163571 : java/security/Security/SynchronizedAccess.java failed timeout
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2016-08-10
  • Updated: 2020-11-26
  • Resolved: 2020-11-26
Related Reports
Relates :  
Description
Test: java/security/Security/SynchronizedAccess.java
Reproducible: NO

Exception Log:
"Attach Listener" #462 daemon prio=9 os_prio=0 tid=0x7cb15000 nid=0x3dc6 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"thread5" #267 prio=5 os_prio=0 tid=0xa6632c00 nid=0x3cd5 runnable [0x7fffe000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.invoke.LambdaForm$BMH/23596666.reinvoke(java.base@9-ea/LambdaForm$BMH)
	at java.lang.invoke.LambdaForm$BMH/32396470.reinvoke(java.base@9-ea/LambdaForm$BMH)
	at java.lang.invoke.LambdaForm$MH/8199481.linkToTargetMethod(java.base@9-ea/LambdaForm$MH)
	at AccessorThread.run(SynchronizedAccess.java:64)

"SameVMThread" #261 prio=5 os_prio=0 tid=0x841a8c00 nid=0x3ccf in Object.wait() [0x837fe000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	- waiting on <no object reference available>
	at java.lang.Thread.join(java.base@9-ea/Thread.java:1352)
	- waiting to re-lock in wait() <0x8836b600> (a AccessorThread)
	at java.lang.Thread.join(java.base@9-ea/Thread.java:1426)
	at SynchronizedAccess.main0(SynchronizedAccess.java:51)
	at SynchronizedAccess.main(SynchronizedAccess.java:38)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

"pool-1-thread-1" #12 daemon prio=5 os_prio=0 tid=0x8415c800 nid=0x1622 waiting on condition [0x8427d000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
	- parking to wait for  <0x8669c1e0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos(java.base@9-ea/LockSupport.java:232)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@9-ea/AbstractQueuedSynchronizer.java:2104)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:1131)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:848)
	at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1083)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)

"Service Thread" #11 daemon prio=9 os_prio=0 tid=0x84123000 nid=0x161f runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Common-Cleaner" #10 daemon prio=8 os_prio=0 tid=0x8496d800 nid=0x161e in Object.wait() [0x844f0000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	- waiting on <no object reference available>
	at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
	- waiting to re-lock in wait() <0x8669da78> (a java.lang.ref.ReferenceQueue$Lock)
	at jdk.internal.ref.CleanerImpl.run(java.base@9-ea/CleanerImpl.java:148)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
	at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

"Sweeper thread" #9 daemon prio=9 os_prio=0 tid=0x8494b800 nid=0x161d runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"C1 CompilerThread2" #8 daemon prio=9 os_prio=0 tid=0x8494a000 nid=0x161c waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"C2 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x84948800 nid=0x161b waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x84947400 nid=0x161a waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE
   No compile task

"Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x8493cc00 nid=0x1619 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Reference Pending List Locker" #4 daemon prio=9 os_prio=0 tid=0x8493b400 nid=0x1618 waiting on condition [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x8492c400 nid=0x1617 in Object.wait() [0xa647b000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	- waiting on <no object reference available>
	at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
	- waiting to re-lock in wait() <0x8669da70> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:172)
	at java.lang.ref.Finalizer$FinalizerThread.run(java.base@9-ea/Finalizer.java:216)

"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x84928c00 nid=0x1616 in Object.wait() [0xa677d000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait(java.base@9-ea/Object.java:516)
	at java.lang.ref.Reference.tryHandlePending(java.base@9-ea/Reference.java:193)
	- waiting to re-lock in wait() <0x8669cfb8> (a java.lang.ref.Reference$Lock)
	at java.lang.ref.Reference$ReferenceHandler.run(java.base@9-ea/Reference.java:155)

"main" #1 prio=5 os_prio=0 tid=0xb650bc00 nid=0x1609 in Object.wait() [0xb66f5000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait(java.base@9-ea/Native Method)
	- waiting on <no object reference available>
	at java.lang.Thread.join(java.base@9-ea/Thread.java:1352)
	- waiting to re-lock in wait() <0x8807da48> (a java.lang.Thread)
	at java.lang.Thread.join(java.base@9-ea/Thread.java:1426)
	at com.sun.javatest.regtest.agent.MainActionHelper.runClass(MainActionHelper.java:130)
	at com.sun.javatest.regtest.agent.AgentServer.doMain(AgentServer.java:233)
	at com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:182)
	at com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:59)