gpt4 book ai didi

java - 自动禁用完整线程转储

转载 作者:行者123 更新时间:2023-12-05 07:25:21 28 4
gpt4 key购买 nike

Eclipse 会自动创建完整的线程转储。我运行任何应用程序 > Run As -> Java Application 然后它立即显示完整的线程转储。它只发生在我的 CentosVM 上。我在我的 Windows 设置中没有看到这个。有人解释为什么会这样吗?也可能有禁用此功能的想法!谢谢

2019-02-25 10:25:10 Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.191-b12 mixed mode):
"background-preinit" #10 prio=5 os_prio=0 tid=0x00007f1a687e1800 nid=0x5cc7 runnable [0x00007f1a54303000]
java.lang.Thread.State: RUNNABLE
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
at java.io.File.exists(File.java:819)
at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1334)
at sun.misc.URLClassPath.getResource(URLClassPath.java:249)
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
- locked <0x0000000755367048> (a java.lang.Object)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

- parking to wait for <0x000000075dbc3f38> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at org.LatencyUtils.PauseDetector$PauseDetectorThread.run(PauseDetector.java:85)

"spring.cloud.inetutils" #14 daemon prio=5 os_prio=0 tid=0x00007f1a6927e000 nid=0x5ccf waiting on condition [0x00007f1a54307000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x000000075d9afe88> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

最佳答案

我无法完全解决发生这种情况的根本原因,但我通过删除 Centos 用户目录中的 .eclipse 文件夹然后重新安装 eclipse 来解决此问题。我没有再看到线程转储。谢谢

关于java - 自动禁用完整线程转储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54872624/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com