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+
- Unzip the archive into directory of your choice
- Add local update site pointing to the chosen directory
- 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