Jprofiler 5.1.2 配置

Jprofiler 5.1.2 配置

 

 

http://blog.cnsucc.com/2009/04/24/jprofiler-512-%e9%85%8d%e7%bd%ae/

 

 

2009-04-24 性能测试 315 views 0个评论

Jprofiler 5.1.2下载地址

2.安装,
运行jprofiler_windows_5_1_2.exe,安装到d:/Program Files/jprofiler5
安装的过程中可以选择与IDE整合,也可以在安装完成后,运行Jprofiler的时候再整合。

3.整合到Eclipse,
先启动 JProfiler :
开始菜单–>所有程序–>JProfiler 5 –>JProfiler,输入注册码。
算号器下载
Name: any
Company: any
License Key:
[email protected]#16320-dvzxpt17ogmau#013
[email protected]#83851-1vyctfjv8d6ua#255
[email protected]#83192-56yozpwn6v3n#174

(执行整合前,先关闭Eclipse)
主菜单–> Session –>IDE Intergrations –>选择Eclipse 3.3,,点“Integrate” ,选择Eclipse所在的文件夹。D:/Java/eclipse.
整合成功。
4.在Eclipse里配置JProfiler.

主菜单–>Window–>Customize Perspective –>Commands –>找到Profile ,选中它,再点OK即可。

5.填写注册码的时候,第一位必须是大写字母,第二位必须连接号,
第一个井号前的内容如果填错,Jprofiler不会提示出错。

而在启动Session的时候,而Jprofiler弹出的对话框内容为:
The JVM has Terminated unexpectedly.
Please try the following strategies:
*reduce the -Xmx value of the profiled application
*profile in interpreted mode
*change your profiling settings(e.g. from dynamic instrumentation sampling)
害得我试了半天都不行,

后来仔细看Terminal才发现是提示” Invalid license key”.

JProfiler> Protocol version 25
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 31757.
JProfiler> Instrumenting native methods.
JProfiler> Native library initialized
JProfiler> Waiting for a connection from the JProfiler GUI …
JProfiler> Using sampling (5 ms)
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled
JProfiler> ERROR: Invalid license key. Aborting.

JProfiler> Disconnected.

修改注册码之后,终于正常启动了。

正常启动的Terminal显示内容:

JProfiler> Protocol version 25
JProfiler> Using JVMTI
JProfiler> JVMTI version 1.1 detected.
JProfiler> 32-bit library
JProfiler> Listening on port: 31759.
JProfiler> Instrumenting native methods.
JProfiler> Native library initialized
JProfiler> Waiting for a connection from the JProfiler GUI …
JProfiler> Using sampling (5 ms)
JProfiler> Time measurement: elapsed time
JProfiler> CPU profiling enabled
JProfiler> Hotspot compiler enabled
JProfiler> Starting com/lizongbo/smpp/server/Main …

Listening on port a 5435

你可能感兴趣的:(Jprofiler 5.1.2 配置)