11

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?

jzd
  • 23,473
  • 9
  • 54
  • 76
Konrad Garus
  • 53,145
  • 43
  • 157
  • 230

1 Answers1

13

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.

Peter Lawrey
  • 525,659
  • 79
  • 751
  • 1,130