需要 Java 分析器工具
我必须对 Java 应用程序进行分析。如果有人让我知道免费的 Java pr-filer,我将不胜感激。我听说过 YourKit,但不太了解它的性能。 Alos 喜欢有关 Java 代码优化的信息。 提前致谢。
谢谢
I have to do profiling of the Java application. I would appreciate if anyone let me know the free Java pr-filer. I heard about YourKit but don't know much about performance of it.
Alos like the information on Java code optimization.
Thanks in advance.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我推荐 JVisualVM。它作为 JDK 的一部分提供。您可以在 bin 文件夹中找到它,也可以在此处下载。
您可以使用它来监视应用程序花费时间的方法,但您也可以查看线程和内存使用情况。它还可以创建堆转储,然后您可以使用 VisualVM 本身或优秀的(也是免费的) 进行分析。内存分析器(MAT)。
I recommend JVisualVM. It's shipped as part of the JDK. You can find it in the bin folder, or you can download it here.
You can use it to monitor in which methods your app spends it time, but you can also look at threads and memory usage. It can also create heap dumps, which you can then analyze with VisualVM itself, or with the excellent (and also free) Memory Analyzer (MAT).
我推荐 Eclipse TPTP(测试和性能工具平台)。它提供了功能丰富的分析器并且是免费的。它是 Helios 版本的一部分,您可以使用 Helios 更新站点下载它。
I recommend Eclipse TPTP (Test & Performance Tools Platform). It offers a feature-rich profiler and is free. It's part of the Helios release, you can download it using the Helios update site.
您可以使用从 JDK 6 update 7 开始捆绑的 jvisualvm。如果您不想在计算机上安装其他 JDK,可以下载 visualvm。但无论如何,如果您有预算,我建议您使用 YourKit,因为它提供了更复杂的功能以及 VisualVM 没有的更好的指标。
You can use jvisualvm which is bundled starting from JDK 6 update 7. If you don't want to install another JDK on your machine, you can download visualvm. But by all means, if you have the budget, I'd recommend getting YourKit as it provides more sophisticated features and better metrics that visualvm don't have.