I am using VisualVM to see where my application is slow. But it does not show all methods, probably does not show all methods that delays the application.
I had the same problem with my pet project. I added a package name and the problem is solved. I don't understand why. VisualVM 1.4.1, jdk1.8.0_181 and jdk-10.0.2, Windows 10