Portal Postmortem
Using Java Thread Dumps to Diagnose Application Failures
Joseph Dane
University of Hawaii
2005 University of Hawaii
Overview
Motivation
Concepts
Examples
Resources
Why When Who
Why: because you've got a flaky application, and you don't know the cause
This is your only choice (except, perhaps …)
When: now. Or possibly later.
You do need a running JVM
If you've got a dead JVM, you might have a core
Who: java developers
requires some familiarity with java
threading, locks, etc. in particular
but, no guru level knowledge required
General Principles
The goal is not to solve problems, but to add to the pool of knowledge about the problem
Some sysadmin skills required/useful
Finding PIDs, sending signals, munging text
For some problems (e.g. G.C.), this will all be a complete waste of time
For other (fairly rare) problems, this will immediately point out the problem, e.g. deadlocks
"Postmortem", in that we can (must, in fact) wait until a problem presents
What can we learn
Resource contention
network (database, RSS feed, etc.)
java locks
CPU
Not so good for
memory leaks
Terminology
"thread" -- a single execution path through a program
"method" -- a java function call
"stack" -- the context of the currently called methods/functions
"frame" -- a single method call, or a single line in a stack
"up/down" -- "up" is toward the TOS, "down" is toward the start of the program
"TOS" -- "top of stack", or the currently executing method
- howtoprepareforearthquakes课文翻译 > methods/functions
-
methods/functions
下载该文档 文档格式:PPT 更新时间:2005-12-01 下载次数:0 点击次数:2
文档基本属性 文档语言: 文档格式: ppt 文档作者: Joseph Dane 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: University of Hawaii 分类: 创建时间: 上次保存者: Joseph Dane 修订次数: 49 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 29 段落数: 330 字节数: 95728 备注: 26 演示格式: On-screen Show 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
-
PPT格式下载
- 更多文档...
-
上一篇:To Love Somebody - 林忆莲
下一篇:the shot to medium term momentum is first documented by ...
点击查看更多关于howtoprepareforearthquakes课文翻译的相关文档
- 您可能感兴趣的
- prepare翻译 howtoprepare earthquakes 英语选修六课文翻译 初三英语课文翻译 九年级英语课文翻译 英语选修6课文翻译 英语必修2课文翻译 英语课文翻译 三峡课文翻译
- 大家在找
-
- · 质量守恒定律视频
- · cdma网络参数
- · 电子温度计
- · 农民工夫妻的感人故事
- · 电工基础知识试卷
- · 可编程控制器在数控机床上的配置方式
- · 2011年湖南卫视节目表
- · 太阳能光伏并网示意图
- · 昆明人对仇和的评价
- · 爱普生喷墨照片打印机
- · 安徽英语六级成绩查询
- · 常州市武进中医院
- · 矿物学岩石学矿床
- · 怎么用生姜红茶减肥
- · 供应氧化皮山东
- · 最新会计准则
- · 单相交流电机调速器
- · 怎样转变工作作风
- · 氯酸钾和赤磷
- · stm32的adc不稳
- · 怎样做一名合格的教师
- · 第四册(东方俄语新版)
- · 拳皇2006视频
- · 长春中医药大学网站
- · 华堂商场十里堡店
- · 二中录取分数线2011
- · 江苏金岭仪表
- · 星海钢琴价格2011
- · cimatrone9.0视频教程
- · 韶关不锈钢冲孔
- 赞助商链接