类似于 yourkit 的工具?
我一直在使用yourkit,它是一个很棒的工具。我通常使用 CPU 消耗水平曲线,并根据时间进行线程深入分析。
但最近我怀疑yourkit导致我的应用程序随机20秒冻结,因为没有发生过多的IO或GC,并且在这样的冻结期间,机器的CPU利用率下降到大约5%,所以它不忙GC。
所以我想要一个类似于yourkit的工具,来尝试一下,看看问题是否真的是由于yourkit造成的,
下面显示了一个冻结,您可以看到CPU使用率在中心时段是一条直线,那是因为在此期间,yourkit 无法获取样本,事实上,在那段时间 JVM 被冻结了。
http://farm7.static.flickr.com/6157/6193700183_80297855d5_b.jpg
我检查了一下没有stop-the-world GC在那段时间
非常感谢 杨
I've been using yourkit, it's a great tool. I normally use the CPU consumption level curve, and thread drill-down against time.
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.
so I'd like a tool similar to yourkit, to try it out , to see if the issue is really due to 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.
http://farm7.static.flickr.com/6157/6193700183_80297855d5_b.jpg
I checked that there is no stop-the-world GC in that period
thanks a lot
Yang
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
VisualVm 具有 yourkit 的一些功能。
VisualVm has some of the features of yourkit.
您可以尝试JProfiler(免责声明:我的公司开发JProfiler)。 VisualVM 具有一些基本的分析功能,但就功能而言,它确实无法与 Yourkit 或 JProfiler 相比。
You can try JProfiler (disclaimer: my company develops JProfiler). VisualVM has some basic profiling capabilities, but feature-wise it does not really compare to Yourkit or JProfiler.