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,279
  • 8
  • 53
  • 76
Konrad Garus
  • 51,699
  • 42
  • 151
  • 223

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
  • 513,304
  • 74
  • 731
  • 1,106