JVisualVM 和 Java Mission Control 有什么区别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23580934/
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
What are the differences between JVisualVM and Java Mission Control?
提问by GoldenJam
Other than the more 'advanced' GUI from Java mission control, how are they different?
除了来自 Java 任务控制的更“高级”的 GUI,它们有什么不同?
At first glance they seem to offer very similar functionality (Interpreting JMX data and Memory/CPU profiling).
乍一看,它们似乎提供了非常相似的功能(解释 JMX 数据和内存/CPU 分析)。
However, as they are both shipped with the JDK (I'm using JDK 1.7.0_51 SE) I'm assuming there are significant differences, otherwise they would be combined into a single solution. Especially as this increases the size of the JDK significantly.
但是,由于它们都随 JDK 一起提供(我使用的是 JDK 1.7.0_51 SE),因此我假设存在显着差异,否则它们将合并为一个解决方案。尤其是这会显着增加 JDK 的大小。
Is Java Mission Control ultimately going to replace JVisualVM in the future?
Java Mission Control 最终会在未来取代 JVisualVM 吗?
回答by kittylyst
One important point is that Mission Control is potentially not free to use on production environments. It is free for applications running in DEV & QA and Oracle are not currently enforcing the charges for production applications (as of Nov 2014). However, their executives have made it clear this may change in time.
重要的一点是 Mission Control 可能无法在生产环境中免费使用。它对在 DEV 和 QA 中运行的应用程序是免费的,并且 Oracle 目前不强制对生产应用程序收费(截至 2014 年 11 月)。然而,他们的高管已经明确表示,这可能会随着时间的推移而改变。
回答by Hirt
The JMX Console part of Java Mission Control is just like any other JMX console. I'm of course biased, but in my opinion it's one of the more feature rich consoles available. The more unique part of JMC is the Java Flight Recorder part.
Java Mission Control 的 JMX 控制台部分就像任何其他 JMX 控制台一样。我当然有偏见,但在我看来,它是可用的功能更丰富的控制台之一。JMC 更独特的部分是 Java Flight Recorder 部分。
JMC is targeting production systems, and is very careful to avoid introducing unnecessary overhead. With the Java Flight Recorder you can do production time profiling and diagnostics with an almost unmeasurable overhead.
JMC 的目标是生产系统,并且非常小心地避免引入不必要的开销。使用 Java Flight Recorder,您可以以几乎无法衡量的开销进行生产时间分析和诊断。