什么是“VM周期性任务线程”? [英] What is the "VM Periodic Task Thread"?

查看:1204
本文介绍了什么是“VM周期性任务线程”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在我的线程转储中看到这个线程:

I can see this thread in my thread dump:

"VM Periodic Task Thread" prio=10 tid=0x00007fc23000e800 nid=0x49e6 waiting on condition

这是什么?

推荐答案

看一下最新的OpenJDK源代码,这是C ++级别的线程,它在没有本机定时器中断的系统上执行许多任务。

Having a look at the latest OpenJDK source, this is C++ level thread which performs a number of tasks on systems where there is not a native timer interrupt.

它似乎主要用于采样/分析JVM正在做什么。

It appears to be mostly used for sampling/profiling what the JVM is doing.

这篇关于什么是“VM周期性任务线程”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆