“vm线程”的作用是什么?在 JDK 1.6 中
我们在客户的系统中看到该线程的大量活动,因此想知道可能会发生什么。
有链接、信息、教程吗?
PS:这种情况发生在带有 JDK 1.6.0_23 的 Solaris 10 上。
We are seeing lot of activity of this thread in our customer's system and hence would like to know what might be happening.
any links, info, tutorials ?
P.S : this is happening on Solaris 10 with JDK 1.6.0_23.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该线程将为您提供一些继续操作的步骤。如果可能的话我会提供更多。
http://mail.openjdk.java.net/pipermail /hotspot-dev/2009-February/001249.html
我可以分享有关 VM 线程的更多详细信息
如果“当前线程”是 VMThread,那么您需要在
线程部分。 VM线程是HotSpot VM中的一个特殊线程。它执行特殊任务
VM,例如垃圾收集。如果 VM_Operation 表明该操作是垃圾操作
那么您可能遇到了诸如堆损坏之类的问题。崩溃
也可能是垃圾收集器问题,但它同样可能是其他问题(例如编译器或
运行时错误),使堆中的对象引用处于不一致或不正确的状态。在这种情况下
最好收集尽可能多的有关环境的信息并尝试可能的情况
解决方法。如果问题与 GC 相关,那么您可以通过以下方式暂时解决该问题
更改 GC 配置。这将在下一节中讨论。
另请查看此链接以获取更多信息 http://www.oracle。 com/technetwork/java/jdk50-ts-guide-149808.pdf
this thread will give you some step to proceed. If possible i will provide more.
http://mail.openjdk.java.net/pipermail/hotspot-dev/2009-February/001249.html
This some more details i can share about VM thread
If the “Current thread” is the VMThread then you need to look for the “VM_Operation” line in the
THREAD section. The VM thread is a special thread in the HotSpot VM. It performs special tasks in
the VM such as garbage collection. If the VM_Operation suggests that the operation is a garbage
collection then it is possible that you have encountered as issue such as heap corruption. The crash
might also be a garbage collector issue, but it could equally be something else (such as a compiler or
runtime bug) that leaves object references in the heap in an inconsistent or incorrect state. In this case
it is best to collect as much information as possible about the environment and try out possible
workarounds. If the issue is GC related then you may be able to temporarily workaround the issue by
changing the GC configuration. This is discussed in the following section.
also check this link for more information http://www.oracle.com/technetwork/java/jdk50-ts-guide-149808.pdf