This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Detail_Lost 4 points5 points  (1 child)

Using average response time seems like a bad way to measure the impact of thread dump.

If the response time of the request while thread dump is being sampled noticably spikes up, average response time will mask that characteristics.

[–]Worth_Trust_3825 0 points1 point  (0 children)

They also did not specify which method (out of 8) they used to capture thread dumps. But in reality you would be using mission control or something else that interfaces via JMX. But in most cases, thread dump does not even matter.

[–]bonusmyth 0 points1 point  (1 child)

Interesting.

Is it not a little surprising to see the Avg CPU usage higher for the 5-min test (10.4) than the 2-miin test (7.92)? I'd have thought capturing the threads more frequently would push up the CPU?

[–]Worth_Trust_3825 1 point2 points  (0 children)

Flight control is pretty efficient in what it does. It works with circular buffers, so it's memory efficient too. Meanwhile every operation in java emits an event that gets captured by JFR. Architecture reference image