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