java项目没有挂但是所有线程停止运行,jstack和jmap等分析工具也无法使用

本文主要是介绍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等分析工具也无法使用的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1068791

相关文章

Spring事务传播机制最佳实践

《Spring事务传播机制最佳实践》Spring的事务传播机制为我们提供了优雅的解决方案,本文将带您深入理解这一机制,掌握不同场景下的最佳实践,感兴趣的朋友一起看看吧... 目录1. 什么是事务传播行为2. Spring支持的七种事务传播行为2.1 REQUIRED(默认)2.2 SUPPORTS2

怎样通过分析GC日志来定位Java进程的内存问题

《怎样通过分析GC日志来定位Java进程的内存问题》:本文主要介绍怎样通过分析GC日志来定位Java进程的内存问题,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、GC 日志基础配置1. 启用详细 GC 日志2. 不同收集器的日志格式二、关键指标与分析维度1.

Java进程异常故障定位及排查过程

《Java进程异常故障定位及排查过程》:本文主要介绍Java进程异常故障定位及排查过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、故障发现与初步判断1. 监控系统告警2. 日志初步分析二、核心排查工具与步骤1. 进程状态检查2. CPU 飙升问题3. 内存

Linux中压缩、网络传输与系统监控工具的使用完整指南

《Linux中压缩、网络传输与系统监控工具的使用完整指南》在Linux系统管理中,压缩与传输工具是数据备份和远程协作的桥梁,而系统监控工具则是保障服务器稳定运行的眼睛,下面小编就来和大家详细介绍一下它... 目录引言一、压缩与解压:数据存储与传输的优化核心1. zip/unzip:通用压缩格式的便捷操作2.

java中新生代和老生代的关系说明

《java中新生代和老生代的关系说明》:本文主要介绍java中新生代和老生代的关系说明,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、内存区域划分新生代老年代二、对象生命周期与晋升流程三、新生代与老年代的协作机制1. 跨代引用处理2. 动态年龄判定3. 空间分

Java设计模式---迭代器模式(Iterator)解读

《Java设计模式---迭代器模式(Iterator)解读》:本文主要介绍Java设计模式---迭代器模式(Iterator),具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,... 目录1、迭代器(Iterator)1.1、结构1.2、常用方法1.3、本质1、解耦集合与遍历逻辑2、统一

Java内存分配与JVM参数详解(推荐)

《Java内存分配与JVM参数详解(推荐)》本文详解JVM内存结构与参数调整,涵盖堆分代、元空间、GC选择及优化策略,帮助开发者提升性能、避免内存泄漏,本文给大家介绍Java内存分配与JVM参数详解,... 目录引言JVM内存结构JVM参数概述堆内存分配年轻代与老年代调整堆内存大小调整年轻代与老年代比例元空

深度解析Java DTO(最新推荐)

《深度解析JavaDTO(最新推荐)》DTO(DataTransferObject)是一种用于在不同层(如Controller层、Service层)之间传输数据的对象设计模式,其核心目的是封装数据,... 目录一、什么是DTO?DTO的核心特点:二、为什么需要DTO?(对比Entity)三、实际应用场景解析

Java 线程安全与 volatile与单例模式问题及解决方案

《Java线程安全与volatile与单例模式问题及解决方案》文章主要讲解线程安全问题的五个成因(调度随机、变量修改、非原子操作、内存可见性、指令重排序)及解决方案,强调使用volatile关键字... 目录什么是线程安全线程安全问题的产生与解决方案线程的调度是随机的多个线程对同一个变量进行修改线程的修改操

从原理到实战深入理解Java 断言assert

《从原理到实战深入理解Java断言assert》本文深入解析Java断言机制,涵盖语法、工作原理、启用方式及与异常的区别,推荐用于开发阶段的条件检查与状态验证,并强调生产环境应使用参数验证工具类替代... 目录深入理解 Java 断言(assert):从原理到实战引言:为什么需要断言?一、断言基础1.1 语