How can I profile threads in Java?

I have production and consumer flows in my application, and I need to profile them to see the performance of the flows, the time spent before everyone goes to bed and waits, etc., and take corrective actions to improve the entire efficiency of the application .

Any suggestions on how to do this?

+3
source share
2 answers

Personally, I use the MyKit java profiler. It has an excellent thread profiling tool that visually shows the status of each thread at any given time relative to each other (among other things). Worth a look

http://www.yourkit.com/overview/index.jsp

+4
source

, , .
javaperformancetuning.com , .
, VisualVM snoracle , NetBeans .

+2

Source: https://habr.com/ru/post/1794043/


All Articles