eclipse编程,java eclipse profile_在 Eclipse 中集成JProfiler 进行 JAVA 项目性能分析

 2023-09-25 阅读 22 评论 0

摘要:1.双击安装2.选择路径eclipse编程?默认路径:Install into:C:\Program Files\jprofiler11自定义:Customize installation选择完成后点击 nexteclipse中run configurations,3.选择 I accept the agreement 点击 next4.开始安装5.安装完毕后默认 nexteclipse环境

1.双击安装

2.选择路径

eclipse编程?默认路径:Install into:C:\Program Files\jprofiler11

自定义:Customize installation

选择完成后点击 next

eclipse中run configurations,3.选择 I accept the agreement 点击 next

4.开始安装

5.安装完毕后默认 next

eclipse环境变量设置。6.注册

选择 Enter license key

这里点击注册机 KeyGen.exe

eclipse java、输入User ID 和 User Name

点击 Generate 生成秘钥

回到注册界面,在 Name 和 Company 中输入刚才注册机中输入的User ID 和 User Name

License key 中输入注册机中的秘钥

点击 next

7.选择要使用的IDE

Eclipse

点击 Integrate 配置 Eclipse 所在路径,这里需要eclipse 关闭。

点击 next,选择不启动 jprofile 安装结束

8.启动 eclipse

开始使用 jprofile

在 servers 中的Tomcat上右键选择 Profile 启动web项目

弹出 jprofile 界面,选择 Intrumentation 这个信息比较详细

点击 Ok 暂时使用默认配置

注意:第一次启动会失败,回到 eclipse 中

重新启动:在 servers 中的Tomcat上右键选择 Profile 启动web项目

现在 jprofile 就已经开始分析java项目了,可以看到内存、垃圾回收、类、线程、CPU等情况

开启内存监控:

live memory -> Recorded Objects -> Record Memory

其他监控开启类似

详细使用可以参考:

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/95004.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息