I am looking at events in a dump from Java Flight Recorder and I see a VM Operation GC_HeapInspection that took 6 seconds.
This occurs right at the point at which other monitoring reports a similar delay.
Interestingly, the verbose gc logs don't report any GC longer than 160 ms.
I am planning on doing another test with the following to see if the delay is due to the time to do a safepoint
-XX:+PrintGCApplicationStoppedTime -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1
However, for this question I'd like to know what is GC_HeapInspection and what can trigger it?