在 eclipse juno 中对 java 进行分析
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14002744/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Profiling for java in eclipse juno
提问by Lambach
I have to optimize performance of a team project (in eclipse Juno).
我必须优化团队项目的性能(在 eclipse Juno 中)。
To identify the bottle neck (timing) i'm searching for a tool or plugin.
为了确定瓶颈(时间),我正在寻找工具或插件。
There seems to be a good platform TPTP, but this is not supported anymore in Eclipse Juno. JVMis a good start but seems not sufficient for a deeper analysis.
似乎有一个很好的平台TPTP,但 Eclipse Juno 不再支持它。 JVM是一个好的开始,但似乎不足以进行更深入的分析。
Did you have some good pratices for an integrated Plugin in Eclipse Juno?
您对 Eclipse Juno 中的集成插件有一些好的实践吗?
If not maybe some standalone tool is succiecent as well.
如果不是,也许一些独立的工具也很简单。
回答by Taky
There are several big solution in Java profiler world:
Java Profiler 世界中有几个大的解决方案:
JProfiler and YourKit are powerful tools for analyzing big EE application. Personally I most prefer YourKit. It has easy intergation with Eclipse. But it all is paid solution and not always you need to buy this one.
JProfiler 和 YourKit 是分析大型 EE 应用程序的强大工具。我个人最喜欢 YourKit。它很容易与 Eclipse 交互。但这一切都是付费解决方案,并不总是您需要购买此解决方案。
If you has not very complex application try to use JVisualVMat first. It should be enough to wide range of performance problem analyzing. To monitoring GC behavior it has great VisualGCplugin. With VIsualGC plugin, making heap dumps and analyzing it with MATyou are able to perfectly tune GC if you need.
如果您没有非常复杂的应用程序,请首先尝试使用JVisualVM。应该足以进行广泛的性能问题分析。为了监控 GC 行为,它有很棒的VisualGC插件。使用 VIsualGC 插件,进行堆转储并使用MAT对其进行分析,如果需要,您可以完美地调整 GC。
回答by Frank
I am a big fan of JProfilerand it has a Eclipse plugintoo.
我是JProfiler 的忠实粉丝,它也有一个Eclipse 插件。
In this SOpost you can find how it works.
在这篇SO帖子中,您可以找到它是如何工作的。