<分区>
昨天,我使用 top 查看我的 Quartz 作业停止运行的原因。
And top show all cpus are with 99%ni?
Which will cause cpu to change nice value so frequently?
Can a dead loop in java lead to this?
环境:
- Linux内核2.6.18
- JDK:Sun Java 1.6.0_23
- Jboss AS 4.2.2.GA
<分区>
昨天,我使用 top 查看我的 Quartz 作业停止运行的原因。
And top show all cpus are with 99%ni?
Which will cause cpu to change nice value so frequently?
Can a dead loop in java lead to this?
环境:
最佳答案
您可以使用可视化 VM 连接到 JVM 并分析 JVM。它在启动时可能需要特殊参数,但如果您这样做,您可以连接到它并让探查器在下次发生这种情况时告诉您哪里出了问题。
关于java - 哪个会导致cpu 99%ni?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8570957/