We have a bad performing application and therefore we used the flight recorder's method profiling to see where the time is spent. It's basically working, but the number of taken samples is way below 100 for a minute of recording. (using the "profiling" preset)
I used a simple sample application (summing up random numbers) for comparison, which yields about 6000 samples for a minute or recording - this seems correct to me.
There are several warnings on the front page, like: High memory consumption, loooooots of Exceptions. But the application is basically working so this might be a red herring.
I already fixed the "stack depth truncated" problem by increasing the number.
My guess: either the flight recorder is somehow misconfigured or the time isn't actually spent in the code but on other tasks. The cpu is pretty busy during the run so I don't assume all threads are waiting.
Please let me know what information might be of importance, so I can add them.
(It's a web framework library written in Scala using Jetty as Webserver; Oracle JDK 8)