简体   繁体   English

类似于yourkit的工具?

[英]tools similar to yourkit?

I've been using yourkit, it's a great tool. 我一直在使用yourkit,这是一个很棒的工具。 I normally use the CPU consumption level curve, and thread drill-down against time. 我通常使用CPU消耗水平曲线,并随时间深入分析线程。

but recently I am suspecting that yourkit is causing the random 20-seconds freeze in my application, since no excessive IO or GC is happening, and in such freeze period, the machine's CPU utilization drops down to about 5%, so it's not doing busy GC. 但是最近我怀疑您的套件在我的应用程序中导致了20秒的随机冻结,因为没有发生过多的IO或GC,并且在这种冻结期间,计算机的CPU使用率下降到了5%左右,因此它并不忙GC。

so I'd like a tool similar to yourkit, to try it out , to see if the issue is really due to yourkit 所以我想要一个类似于yourkit的工具,尝试一下,看看问题是否真的是由于yourkit造成的

the following shows one freeze, you can see that the CPU usage is a straight line for the center period, that's because yourkit wasn't able to take samples during that period, in fact for that period JVM was frozen. 下面显示了一个冻结状态,您可以看到中心时段的CPU使用率是一条直线,这是因为在该期间,您的套件无法采样,实际上是在此期间JVM冻结了。

http://farm7.static.flickr.com/6157/6193700183_80297855d5_b.jpg http://farm7.static.flickr.com/6157/6193700183_80297855d5_b.jpg

I checked that there is no stop-the-world GC in that period 我检查了那段时间没有世界各地的GC

thanks a lot Yang 非常感谢杨

VisualVm具有yourkit的某些功能。

You can try JProfiler (disclaimer: my company develops JProfiler). 您可以尝试JProfiler (免责声明:我公司开发JProfiler)。 VisualVM has some basic profiling capabilities, but feature-wise it does not really compare to Yourkit or JProfiler. VisualVM具有一些基本的性能分析功能,但从功能上讲,它实际上无法与Yourkit或JProfiler相比。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM