更新时间:2023-11-06 09:46:46
在 Java 服务器上,快速执行 2-3 次 Ctrl-Breaks 一直是一个巧妙的技巧连续获取所有正在运行的线程的 2-3 个线程转储.只需查看所有线程在哪里"就可以非常快速地确定您的性能问题所在.
On Java servers it's always been a neat trick to do 2-3 quick Ctrl-Breakss in a row and get 2-3 threaddumps of all running threads. Simply looking at where all the threads "are" may extremely quickly pinpoint where your performance problems are.
与我所知道的任何其他技术相比,这种技术可以在 2 分钟内揭示更多的性能问题.
This technique can reveal more performance problems in 2 minutes than any other technique I know of.