没有合适的资源?快使用搜索试试~ 我知道了~
Jrockit Mission Control
4星 · 超过85%的资源 需积分: 10 130 下载量 12 浏览量
2009-01-13
14:19:17
上传
评论 1
收藏 1.49MB PDF 举报
温馨提示
试读
148页
jrockit Mission Control指南,Jrockit用于分析Java运行内存泄露的问题
资源推荐
资源详情
资源评论
BEA
JRockit
®
Mission
Control
TM
Oracle JRockit Runtime
Analyzer
JRockit Mission Control version 3.0.2 ®
Document Revised: June, 2008
Oracle JRockit Runtime Analyzer iii
Contents
Introduction to the Oracle JRockit Runtime Analyzer
How Does the JRockit Runtime Analyzer Work? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
What is a JRA Recording? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
What is the JRA Tool? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
What’s New in the JRA System? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
Workflow Description for Creating and Analyzing a JRA
Recording
1. Start the JRockit Mission Control Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2. Start Your Java Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
3. Create JRA Recording. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
4. View Your JRA Recording in JRA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
5. Perform Changes in Application or Use Other Command-line Options for the JRockit
JVM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
6. Create a New JRA Recording . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
7. Compare and Contrast Two Recordings in JRA. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Alternative Ways to Start a JRA Recording
Starting a Recording with jrcmd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Starting a Recording From the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
iv Oracle JRockit Runtime Analyzer
Using the JRockit Runtime Analyzer
Getting Started with the JRockit Runtime Analyzer
Starting JRA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
JRA Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
JRA Tabs at a Glance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Customizing Your JRA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3
Turning on/off Tabs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4
Changing Table Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Filtering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-6
Collapsing and Expanding an Information Panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
Changing Layout of a Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
General Information in a JRA Recording
Getting Familiar with the General Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Viewing General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3
Viewing Memory Usage Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Viewing Miscellaneous Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Viewing Memory Allocation Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6
Viewing Threads Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7
Viewing Exceptions Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
Methods and Call Trace Information
Getting Familiar with the Methods Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Viewing Hot Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Viewing Predecessors and Successors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-3
Jumping to Application Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4
Oracle JRockit Runtime Analyzer v
General Garbage Collector Information
Getting Familiar with the GC General Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
Viewing General Garbage Collection Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2
Viewing Garbage Collection Call Tree Information . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-3
Viewing Garbage Collection Strategy Changes Information. . . . . . . . . . . . . . . . . . . . . 8-3
Jumping to Application Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4
Garbage Collection Events Information
Getting Familiar with the GCs Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-2
Changing Focus on GC Chart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3
Viewing Specifics about Garbage Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-4
Viewing the Detailed Information About the Garbage Collection. . . . . . . . . . . . . . . . . 9-6
Viewing Information on the Common Garbage Collection Tab . . . . . . . . . . . . . . . . . . 9-7
Viewing Information on the GC Method Call Tree Tab . . . . . . . . . . . . . . . . . . . . . . . . 9-9
Viewing Information on the Old/Young Collection Tab . . . . . . . . . . . . . . . . . . . . . . . . 9-9
Viewing Information on the Cache Lists Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-10
The Pause Time Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11
Jumping to Application Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11
Java Heap Content Information
Getting Familiar with the Heap Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-1
Viewing the Heap Snapshot at the End of the Recording Information . . . . . . . . . . . . 10-2
Viewing the Heap Contents Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
Viewing the Free Memory Contribution Information . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
Objects Information
Getting Familiar with the Objects Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-1
Viewing Start of Recording Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-2
Viewing End of Recording Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-3
剩余147页未读,继续阅读
J2EE_BI
- 粉丝: 4
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页