Java – what is “VM recurring task thread”?

I can see this thread in my thread dump:

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

What is it?

Solution

Take a look at the latest openjdk source code. This is a C-level thread, which performs multiple tasks on a system without a native timer interrupt

It seems to be mainly used for sampling / analyzing what the JVM is doing

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>