We have a java web app running in a server. It is hosted with tomcat. I have enabled Flight recorder and i am able to connect to connect with JMC and recording Flight...
Now, i am not sure how i can find the classes which is making my app slow.Let me be clear, normally the server (60 visitors) is around 10% of CPU usage. But sometimes it becomes very resource hungry and continue to usae almost 100% of CPU (QUADCORE RAM: 16GB). But the visitors are normal, around 60 ... still it behaves like that. I have to restart tomcat.
Now, i want to find the culprit class which is doing these resource hungry situation.