性能分析工具VisualVM for eclipse安装过程总结

Java VisualVM

Java VisualVM is a tool that provides a visual interface for viewing detailed information about Java applications while they are running on a Java Virtual Machine (JVM), and for troubleshooting and profiling these applications. Various optional tools, including Java VisualVM, are provided with Sun‘s distribution of the Java Development Kit (JDK) for retrieving different types of data about running JVM software instances. 

Eclipse launcher for VisualVM

The Eclipse launcher for VisualVM is an Eclipse plugin to make monitoring and profiling Eclipse projects using VisualVM more convenient to the IDE users. It starts the VisualVM tool along with the monitored application and automatically opens the application tab after VisualVM startup.

visualvm Eclipse launcher plugin 下载地址: http://visualvm.java.net/eclipse-launcher.html

Installation

  • Eclipse 3.6+
    1. Unzip the archive into directory of your choice
    2. Add local update site pointing to the chosen directory
    3. Install VisualVM Launcher Feature

安装过程;

    1、下载visualvm Eclipse launcher后,解压缩到本地目录。

    2、在Eclipse中点击Help->Install new software->Add->local选择对应的目录

    3、按照提示即可安装VisualVM及对应的Eclipse插件。之后运行程序时可以选择VisualVM Launcher运行程序。

安装过程截图:

技术分享

 

运行过程及监控结果:

技术分享

技术分享

 

技术分享

 

附录:

Eclipse Java Profiler [closed]

http://stackoverflow.com/questions/2713940/eclipse-java-profiler

Java VisualVM

http://docs.oracle.com/javase/6/docs/technotes/guides/visualvm/

Eclipse launcher for VisualVM

http://visualvm.java.net/eclipse-launcher.html

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。