WAITING at sun.misc.Unsafe.park(Native Method)

前端 未结 3 1882
心在旅途
心在旅途 2020-11-27 02:29

One of my applications hangs under some period of running under load, does anyone know what could cause such output in jstack:

\"scheduler-5\" prio=10 tid=0x         


        
3条回答
  •  囚心锁ツ
    2020-11-27 03:22

    From the stack trace it's clear that, the ThreadPoolExecutor > Worker thread started and it's waiting for the task to be available on the BlockingQueue(DelayedWorkQueue) to pick the task and execute.So this thread will be in WAIT status only as long as get a SIGNAL from the publisher thread.

提交回复
热议问题