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

本文介绍如何通过Eclipse插件VisualVM监控Java应用程序的运行状态,包括详细的性能指标和错误诊断,同时提供安装步骤和运行过程的指导。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

 

转载于:https://www.cnblogs.com/scw2901/p/4346826.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值