本文主要是介绍java项目没有挂但是所有线程停止运行,jstack和jmap等分析工具也无法使用,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
java项目使用jacob调用本地接口跟设备通讯
项目没有挂但是所有线程停止运行,jconsole、jstack和jmap等分析工具也无法使用,只能通过jstack -F 指令强制打印线程信息,下面是打印的现成信息,目前没找到问题,后面找到后进行更新
Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。C:\Users\Administrator>jstack -F 10148
Attaching to process ID 10148, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.221-b11
Deadlock Detection:java.lang.NullPointerExceptionat sun.jvm.hotspot.runtime.JavaThread.isLockOwned(JavaThread.java:379)at sun.jvm.hotspot.runtime.Threads.owningThreadFromMonitor(Threads.java:189)at sun.jvm.hotspot.runtime.Threads.owningThreadFromMonitor(Threads.java:196)at sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:90)at sun.jvm.hotspot.runtime.DeadlockDetector.print(DeadlockDetector.java:39)at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:62)at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:45)at sun.jvm.hotspot.tools.JStack.run(JStack.java:66)at sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)at sun.jvm.hotspot.tools.Tool.start(Tool.java:223)at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)at sun.jvm.hotspot.tools.JStack.main(JStack.java:92)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at sun.tools.jstack.JStack.runJStackTool(JStack.java:140)at sun.tools.jstack.JStack.main(JStack.java:106)
Can't print deadlocks:null
Thread 72: (state = NEW)Thread 71: (state = NEW)Thread 61: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=442 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Compiled frame)Thread 60: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=442 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Compiled frame)Thread 59: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=442 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Compiled frame)Thread 58: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=442 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Compiled frame)Thread 57: (state = IN_NATIVE)- com.jacob.com.STA.doMessagePump() @bci=0 (Interpreted frame)- com.jacob.com.STA.run() @bci=11, line=51 (Interpreted frame)Thread 56: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=442 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Compiled frame)Thread 55: (state = IN_NATIVE)- com.jacob.com.Dispatch.release() @bci=0 (Compiled frame; information may be imprecise)- com.jacob.com.Dispatch.safeRelease() @bci=12, line=250 (Compiled frame)- com.jacob.com.ROT.clearObjects() @bci=172, line=159 (Compiled frame)- com.jacob.com.ComThread.Release() @bci=11, line=128 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect$TaskRunnable.run() @bci=1522, line=1360 (Compiled frame)- java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=511 (Compiled frame)- java.util.concurrent.FutureTask.run() @bci=42, line=266 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 54: (state = BLOCKED)- com.jacob.com.ComThread.Release() @bci=0, line=125 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect$TaskRunnable.run() @bci=1522, line=1360 (Compiled frame)- java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=511 (Compiled frame)- java.util.concurrent.FutureTask.run() @bci=42, line=266 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 53: (state = IN_NATIVE)- com.jacob.com.Dispatch.invokev(com.jacob.com.Dispatch, java.lang.String, int, int, int, com.jacob.com.Variant[], int[]) @bci=0 (Compiled frame; information may be impr
ecise)- com.jacob.com.Dispatch.invokev(com.jacob.com.Dispatch, java.lang.String, int, com.jacob.com.Variant[], int[]) @bci=14, line=625 (Compiled frame)- com.jacob.com.Dispatch.callN(com.jacob.com.Dispatch, java.lang.String, java.lang.Object[]) @bci=15, line=453 (Compiled frame)- com.jacob.com.Dispatch.call(com.jacob.com.Dispatch, java.lang.String, java.lang.Object[]) @bci=7, line=541 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect.connect() @bci=240, line=293 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect$TaskRunnable.run() @bci=16, line=1238 (Compiled frame)- java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=511 (Compiled frame)- java.util.concurrent.FutureTask.run() @bci=42, line=266 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 52: (state = IN_NATIVE)- com.jacob.com.Dispatch.invokev(com.jacob.com.Dispatch, java.lang.String, int, int, int, com.jacob.com.Variant[], int[]) @bci=0 (Compiled frame; information may be impr
ecise)- com.jacob.com.Dispatch.invokev(com.jacob.com.Dispatch, java.lang.String, int, com.jacob.com.Variant[], int[]) @bci=14, line=625 (Compiled frame)- com.jacob.com.Dispatch.callN(com.jacob.com.Dispatch, java.lang.String, java.lang.Object[]) @bci=15, line=453 (Compiled frame)- com.jacob.com.Dispatch.call(com.jacob.com.Dispatch, java.lang.String, java.lang.Object[]) @bci=7, line=541 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect.connect() @bci=240, line=293 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect$TaskRunnable.run() @bci=16, line=1238 (Compiled frame)- java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=511 (Compiled frame)- java.util.concurrent.FutureTask.run() @bci=42, line=266 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 51: (state = IN_NATIVE)- com.jacob.com.Dispatch.invokev(com.jacob.com.Dispatch, java.lang.String, int, int, int, com.jacob.com.Variant[], int[]) @bci=0 (Compiled frame; information may be impr
ecise)- com.jacob.com.Dispatch.invokev(com.jacob.com.Dispatch, java.lang.String, int, com.jacob.com.Variant[], int[]) @bci=14, line=625 (Compiled frame)- com.jacob.com.Dispatch.callN(com.jacob.com.Dispatch, java.lang.String, java.lang.Object[]) @bci=15, line=453 (Compiled frame)- com.jacob.com.Dispatch.call(com.jacob.com.Dispatch, java.lang.String, java.lang.Object[]) @bci=7, line=541 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect.connect() @bci=240, line=293 (Compiled frame)- cn.xdf.wlyy.attendance.zkkq.ZKTimerConnect$TaskRunnable.run() @bci=16, line=1238 (Compiled frame)- java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=511 (Compiled frame)- java.util.concurrent.FutureTask.run() @bci=42, line=266 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 50: (state = BLOCKED)- java.lang.Object.hashCode() @bci=0 (Compiled frame; information may be imprecise)- java.util.HashMap.hash(java.lang.Object) @bci=9, line=339 (Compiled frame)- java.util.HashMap.put(java.lang.Object, java.lang.Object) @bci=2, line=612 (Compiled frame)- java.util.HashSet.add(java.lang.Object) @bci=8, line=220 (Compiled frame)- java.nio.channels.spi.AbstractSelector.cancel(java.nio.channels.SelectionKey) @bci=12, line=92 (Compiled frame)- java.nio.channels.spi.AbstractSelectionKey.cancel() @bci=24, line=73 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey(java.nio.channels.SelectionKey) @bci=42, line=719 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint.close(org.apache.tomcat.util.net.NioChannel, java.nio.channels.SelectionKey) @bci=5, line=492 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint.access$600(org.apache.tomcat.util.net.NioEndpoint, org.apache.tomcat.util.net.NioChannel, java.nio.channels.SelectionKey) @bci=3
, line=69 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=212, line=1440 (Compiled frame)- org.apache.tomcat.util.net.SocketProcessorBase.run() @bci=21, line=49 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 49: (state = BLOCKED)- org.apache.coyote.AbstractProcessorLight.getIteratorAndClearDispatches() @bci=6, line=103 (Compiled frame)- org.apache.coyote.AbstractProcessorLight.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=208, line=82 (Compiled fram
e)- org.apache.coyote.AbstractProtocol$ConnectionHandler.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=298, line=789 (
Interpreted frame)- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=191, line=1437 (Compiled frame)- org.apache.tomcat.util.net.SocketProcessorBase.run() @bci=21, line=49 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 48: (state = IN_VM)- org.apache.coyote.http11.Http11Processor.service(org.apache.tomcat.util.net.SocketWrapperBase) @bci=97, line=667 (Compiled frame; information may be imprecise)- org.apache.coyote.AbstractProcessorLight.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=106, line=66 (Compiled fram
e)- org.apache.coyote.AbstractProtocol$ConnectionHandler.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=298, line=789 (
Interpreted frame)- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=191, line=1437 (Compiled frame)- org.apache.tomcat.util.net.SocketProcessorBase.run() @bci=21, line=49 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 47: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.core.QuartzSchedulerThread.run() @bci=950, line=410 (Interpreted frame)Thread 46: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 45: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 44: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 43: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 42: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 41: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 40: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 39: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 38: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 37: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- org.quartz.simpl.SimpleThreadPool$WorkerThread.run() @bci=43, line=568 (Compiled frame)Thread 36: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=215 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=78, line=2078 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=62, line=467 (Interpreted frame)- org.apache.tomcat.util.threads.TaskQueue.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=85 (Interpreted frame)- org.apache.tomcat.util.threads.TaskQueue.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=31 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=134, line=1073 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 35: (state = IN_VM)- org.apache.coyote.AbstractProcessorLight.getIteratorAndClearDispatches() @bci=6, line=103 (Compiled frame)- org.apache.coyote.AbstractProcessorLight.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=208, line=82 (Compiled fram
e)- org.apache.coyote.AbstractProtocol$ConnectionHandler.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=298, line=789 (
Interpreted frame)- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=191, line=1437 (Compiled frame)- org.apache.tomcat.util.net.SocketProcessorBase.run() @bci=21, line=49 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 34: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=215 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=78, line=2078 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=62, line=467 (Interpreted frame)- org.apache.tomcat.util.threads.TaskQueue.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=85 (Interpreted frame)- org.apache.tomcat.util.threads.TaskQueue.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=31 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=134, line=1073 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 33: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=215 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=78, line=2078 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.poll(long, java.util.concurrent.TimeUnit) @bci=62, line=467 (Interpreted frame)- org.apache.tomcat.util.threads.TaskQueue.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=85 (Interpreted frame)- org.apache.tomcat.util.threads.TaskQueue.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=31 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=134, line=1073 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Interpreted frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 32: (state = IN_VM)- org.apache.coyote.http11.Http11Processor.service(org.apache.tomcat.util.net.SocketWrapperBase) @bci=97, line=667 (Compiled frame; information may be imprecise)- org.apache.coyote.AbstractProcessorLight.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=106, line=66 (Compiled fram
e)- org.apache.coyote.AbstractProtocol$ConnectionHandler.process(org.apache.tomcat.util.net.SocketWrapperBase, org.apache.tomcat.util.net.SocketEvent) @bci=298, line=789 (
Interpreted frame)- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=191, line=1437 (Compiled frame)- org.apache.tomcat.util.net.SocketProcessorBase.run() @bci=21, line=49 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 31: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- java.util.concurrent.LinkedBlockingQueue.take() @bci=29, line=442 (Compiled frame)- org.apache.tomcat.util.threads.TaskQueue.take() @bci=36, line=103 (Compiled frame)- org.apache.tomcat.util.threads.TaskQueue.take() @bci=1, line=31 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 30: (state = BLOCKED)- sun.nio.ch.SocketDispatcher.preClose0(java.io.FileDescriptor) @bci=0 (Compiled frame; information may be imprecise)- sun.nio.ch.SocketDispatcher.preClose(java.io.FileDescriptor) @bci=1, line=59 (Compiled frame)- sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel() @bci=32, line=838 (Compiled frame)- java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel() @bci=1, line=234 (Compiled frame)- java.nio.channels.spi.AbstractInterruptibleChannel.close() @bci=23, line=115 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey(java.nio.channels.SelectionKey) @bci=59, line=722 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint.close(org.apache.tomcat.util.net.NioChannel, java.nio.channels.SelectionKey) @bci=5, line=492 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint.access$600(org.apache.tomcat.util.net.NioEndpoint, org.apache.tomcat.util.net.NioChannel, java.nio.channels.SelectionKey) @bci=3
, line=69 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun() @bci=212, line=1440 (Compiled frame)- org.apache.tomcat.util.net.SocketProcessorBase.run() @bci=21, line=49 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run() @bci=4, line=61 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 29: (state = BLOCKED)- java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be imprecise)- org.apache.coyote.AbstractProtocol$AsyncTimeout.run() @bci=10, line=1124 (Compiled frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 28: (state = IN_NATIVE)- sun.nio.ch.ServerSocketChannelImpl.accept0(java.io.FileDescriptor, java.io.FileDescriptor, java.net.InetSocketAddress[]) @bci=0 (Compiled frame; information may be imp
recise)- sun.nio.ch.ServerSocketChannelImpl.accept(java.io.FileDescriptor, java.io.FileDescriptor, java.net.InetSocketAddress[]) @bci=4, line=422 (Compiled frame)- sun.nio.ch.ServerSocketChannelImpl.accept() @bci=130, line=250 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$Acceptor.run() @bci=88, line=444 (Compiled frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 27: (state = BLOCKED)- sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(long, int, int[], int[], int[], long) @bci=0 (Compiled frame; information may be imprecise)- sun.nio.ch.WindowsSelectorImpl$SubSelector.poll() @bci=43, line=296 (Compiled frame)- sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(sun.nio.ch.WindowsSelectorImpl$SubSelector) @bci=1, line=278 (Compiled frame)- sun.nio.ch.WindowsSelectorImpl.doSelect(long) @bci=63, line=159 (Compiled frame)- sun.nio.ch.SelectorImpl.lockAndDoSelect(long) @bci=37, line=86 (Compiled frame)- sun.nio.ch.SelectorImpl.select(long) @bci=30, line=97 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$Poller.run() @bci=55, line=778 (Compiled frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 26: (state = BLOCKED)- sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(long, int, int[], int[], int[], long) @bci=0 (Compiled frame; information may be imprecise)- sun.nio.ch.WindowsSelectorImpl$SubSelector.poll() @bci=43, line=296 (Compiled frame)- sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(sun.nio.ch.WindowsSelectorImpl$SubSelector) @bci=1, line=278 (Compiled frame)- sun.nio.ch.WindowsSelectorImpl.doSelect(long) @bci=63, line=159 (Compiled frame)- sun.nio.ch.SelectorImpl.lockAndDoSelect(long) @bci=37, line=86 (Compiled frame)- sun.nio.ch.SelectorImpl.select(long) @bci=30, line=97 (Compiled frame)- org.apache.tomcat.util.net.NioEndpoint$Poller.run() @bci=55, line=778 (Compiled frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 25: (state = BLOCKED)- java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be imprecise)- org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run() @bci=46, line=1355 (Compiled frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 24: (state = BLOCKED)- com.jacob.com.ComThread.InitMTA() @bci=0, line=46 (Compiled frame)- cn.xdf.wlyy.attendance.task.TaskJob.saveCheckinout() @bci=0, line=100 (Compiled frame)- sun.reflect.GeneratedMethodAccessor90.invoke(java.lang.Object, java.lang.Object[]) @bci=36 (Compiled frame)- sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Compiled frame)- java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=56, line=498 (Compiled frame)- org.springframework.scheduling.support.ScheduledMethodRunnable.run() @bci=19, line=65 (Compiled frame)- org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run() @bci=4, line=54 (Compiled frame)- org.springframework.scheduling.concurrent.ReschedulingRunnable.run() @bci=9, line=81 (Compiled frame)- java.util.concurrent.Executors$RunnableAdapter.call() @bci=4, line=511 (Compiled frame)- java.util.concurrent.FutureTask.run() @bci=42, line=266 (Compiled frame)- java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask) @bci=1, line=180
(Compiled frame)- java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run() @bci=30, line=293 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=95, line=1149 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 23: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=215 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=78, line=2078 (Compiled frame)- java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take() @bci=124, line=1093 (Compiled frame)- java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take() @bci=1, line=809 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.getTask() @bci=149, line=1074 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) @bci=26, line=1134 (Compiled frame)- java.util.concurrent.ThreadPoolExecutor$Worker.run() @bci=5, line=624 (Interpreted frame)- java.lang.Thread.run() @bci=11, line=748 (Interpreted frame)Thread 22: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- java.util.TimerThread.mainLoop() @bci=201, line=552 (Interpreted frame)- java.util.TimerThread.run() @bci=1, line=505 (Interpreted frame)Thread 21: (state = BLOCKED)- java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be imprecise)- com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run() @bci=42, line=2672 (Interpreted frame)Thread 20: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=175 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2039 (Compiled frame)- com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run() @bci=202, line=2576 (Interpreted frame)Thread 19: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Interpreted frame)- java.lang.Object.wait() @bci=2, line=502 (Interpreted frame)- java.util.TimerThread.mainLoop() @bci=28, line=526 (Interpreted frame)- java.util.TimerThread.run() @bci=1, line=505 (Interpreted frame)Thread 18: (state = BLOCKED)- sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(long, int, int[], int[], int[], long) @bci=0 (Compiled frame; information may be imprecise)- sun.nio.ch.WindowsSelectorImpl$SubSelector.poll() @bci=43, line=296 (Compiled frame)- sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(sun.nio.ch.WindowsSelectorImpl$SubSelector) @bci=1, line=278 (Compiled frame)- sun.nio.ch.WindowsSelectorImpl.doSelect(long) @bci=63, line=159 (Compiled frame)- sun.nio.ch.SelectorImpl.lockAndDoSelect(long) @bci=37, line=86 (Compiled frame)- sun.nio.ch.SelectorImpl.select(long) @bci=30, line=97 (Compiled frame)- org.apache.tomcat.util.net.NioBlockingSelector$BlockPoller.run() @bci=52, line=339 (Compiled frame)Thread 17: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Interpreted frame)- sun.misc.GC$Daemon.run() @bci=51, line=117 (Interpreted frame)Thread 16: (state = BLOCKED)- sun.misc.Unsafe.park(boolean, long) @bci=0 (Compiled frame; information may be imprecise)- java.util.concurrent.locks.LockSupport.parkNanos(java.lang.Object, long) @bci=20, line=215 (Compiled frame)- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(long) @bci=78, line=2078 (Compiled frame)- java.util.concurrent.LinkedBlockingDeque.pollFirst(long, java.util.concurrent.TimeUnit) @bci=52, line=522 (Compiled frame)- java.util.concurrent.LinkedBlockingDeque.poll(long, java.util.concurrent.TimeUnit) @bci=3, line=684 (Compiled frame)- org.apache.juli.AsyncFileHandler$LoggerThread.run() @bci=10, line=152 (Compiled frame)Thread 10: (state = BLOCKED)Thread 9: (state = BLOCKED)Thread 8: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- java.lang.ref.ReferenceQueue.remove(long) @bci=59, line=144 (Compiled frame)- java.lang.ref.ReferenceQueue.remove() @bci=2, line=165 (Compiled frame)- java.lang.ref.Finalizer$FinalizerThread.run() @bci=36, line=216 (Compiled frame)Thread 7: (state = BLOCKED)- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be imprecise)- java.lang.Object.wait() @bci=2, line=502 (Compiled frame)- java.lang.ref.Reference.tryHandlePending(boolean) @bci=54, line=191 (Compiled frame)- java.lang.ref.Reference$ReferenceHandler.run() @bci=1, line=153 (Compiled frame)Thread 1: (state = IN_NATIVE)- java.net.DualStackPlainSocketImpl.accept0(int, java.net.InetSocketAddress[]) @bci=0 (Interpreted frame)- java.net.DualStackPlainSocketImpl.socketAccept(java.net.SocketImpl) @bci=37, line=131 (Interpreted frame)- java.net.AbstractPlainSocketImpl.accept(java.net.SocketImpl) @bci=7, line=409 (Interpreted frame)- java.net.PlainSocketImpl.accept(java.net.SocketImpl) @bci=42, line=199 (Interpreted frame)- java.net.ServerSocket.implAccept(java.net.Socket) @bci=60, line=545 (Interpreted frame)- java.net.ServerSocket.accept() @bci=48, line=513 (Interpreted frame)- org.apache.catalina.core.StandardServer.await() @bci=180, line=466 (Interpreted frame)- org.apache.catalina.startup.Catalina.await() @bci=4, line=743 (Interpreted frame)- org.apache.catalina.startup.Catalina.start() @bci=209, line=689 (Interpreted frame)- sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object, java.lang.Object[]) @bci=0 (Interpreted frame)- sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=100, line=62 (Interpreted frame)- sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6, line=43 (Compiled frame)- java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=56, line=498 (Compiled frame)- org.apache.catalina.startup.Bootstrap.start() @bci=37, line=355 (Interpreted frame)- org.apache.catalina.startup.Bootstrap.main(java.lang.String[]) @bci=150, line=495 (Interpreted frame)C:\Users\Administrator>
这篇关于java项目没有挂但是所有线程停止运行,jstack和jmap等分析工具也无法使用的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!