Konrad Garus Konrad Garus - 1 year ago 134
Java Question

What is the "VM Periodic 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?

Answer Source

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.

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download