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

相关文章

JVM 的类初始化机制

前言 当你在 Java 程序中new对象时,有没有考虑过 JVM 是如何把静态的字节码(byte code)转化为运行时对象的呢,这个问题看似简单,但清楚的同学相信也不会太多,这篇文章首先介绍 JVM 类初始化的机制,然后给出几个易出错的实例来分析,帮助大家更好理解这个知识点。 JVM 将字节码转化为运行时对象分为三个阶段,分别是:loading 、Linking、initialization

Spring Security 基于表达式的权限控制

前言 spring security 3.0已经可以使用spring el表达式来控制授权,允许在表达式中使用复杂的布尔逻辑来控制访问的权限。 常见的表达式 Spring Security可用表达式对象的基类是SecurityExpressionRoot。 表达式描述hasRole([role])用户拥有制定的角色时返回true (Spring security默认会带有ROLE_前缀),去

浅析Spring Security认证过程

类图 为了方便理解Spring Security认证流程,特意画了如下的类图,包含相关的核心认证类 概述 核心验证器 AuthenticationManager 该对象提供了认证方法的入口,接收一个Authentiaton对象作为参数; public interface AuthenticationManager {Authentication authenticate(Authenti

Spring Security--Architecture Overview

1 核心组件 这一节主要介绍一些在Spring Security中常见且核心的Java类,它们之间的依赖,构建起了整个框架。想要理解整个架构,最起码得对这些类眼熟。 1.1 SecurityContextHolder SecurityContextHolder用于存储安全上下文(security context)的信息。当前操作的用户是谁,该用户是否已经被认证,他拥有哪些角色权限…这些都被保

Spring Security基于数据库验证流程详解

Spring Security 校验流程图 相关解释说明(认真看哦) AbstractAuthenticationProcessingFilter 抽象类 /*** 调用 #requiresAuthentication(HttpServletRequest, HttpServletResponse) 决定是否需要进行验证操作。* 如果需要验证,则会调用 #attemptAuthentica

Spring Security 从入门到进阶系列教程

Spring Security 入门系列 《保护 Web 应用的安全》 《Spring-Security-入门(一):登录与退出》 《Spring-Security-入门(二):基于数据库验证》 《Spring-Security-入门(三):密码加密》 《Spring-Security-入门(四):自定义-Filter》 《Spring-Security-入门(五):在 Sprin

Java架构师知识体认识

源码分析 常用设计模式 Proxy代理模式Factory工厂模式Singleton单例模式Delegate委派模式Strategy策略模式Prototype原型模式Template模板模式 Spring5 beans 接口实例化代理Bean操作 Context Ioc容器设计原理及高级特性Aop设计原理Factorybean与Beanfactory Transaction 声明式事物

这15个Vue指令,让你的项目开发爽到爆

1. V-Hotkey 仓库地址: github.com/Dafrok/v-ho… Demo: 戳这里 https://dafrok.github.io/v-hotkey 安装: npm install --save v-hotkey 这个指令可以给组件绑定一个或多个快捷键。你想要通过按下 Escape 键后隐藏某个组件,按住 Control 和回车键再显示它吗?小菜一碟: <template

豆包 MarsCode 不允许你还没有女朋友

在这个喧嚣的世界里,爱意需要被温柔地唤醒。为心爱的她制作每日一句小工具,就像是一场永不落幕的浪漫仪式,每天都在她的心田播撒爱的种子,让她的每一天都充满甜蜜与期待。 背景 在这个瞬息万变的时代,我们都在寻找那些能让我们慢下来,感受生活美好的瞬间。为了让这份浪漫持久而深刻,我们决定为女朋友定制一个每日一句小工具。这个工具会在她意想不到的时刻,为她呈现一句充满爱意的话语,让她的每一天都充满惊喜和感动

中文分词jieba库的使用与实景应用(一)

知识星球:https://articles.zsxq.com/id_fxvgc803qmr2.html 目录 一.定义: 精确模式(默认模式): 全模式: 搜索引擎模式: paddle 模式(基于深度学习的分词模式): 二 自定义词典 三.文本解析   调整词出现的频率 四. 关键词提取 A. 基于TF-IDF算法的关键词提取 B. 基于TextRank算法的关键词提取