Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Debugging and profiling jvm applications
Search
Bhuvan Rawal
September 13, 2017
Technology
1
1.5k
Debugging and profiling jvm applications
Bhuvan Rawal
September 13, 2017
Tweet
Share
Other Decks in Technology
See All in Technology
20241120_JAWS_東京_ランチタイムLT#17_AWS認定全冠の先へ
tsumita
2
300
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
270
あなたの知らない Function.prototype.toString() の世界
mizdra
PRO
1
270
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
640
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
350
飲食店データの分析事例とそれを支えるデータ基盤
kimujun
0
190
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
AI前提のサービス運用ってなんだろう?
ryuichi1208
8
1.4k
アジャイルチームがらしさを発揮するための目標づくり / Making the goal and enabling the team
kakehashi
3
150
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
CDCL による厳密解法を採用した MILP ソルバー
imai448
3
180
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Speed Design
sergeychernyshev
25
620
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Cult of Friendly URLs
andyhume
78
6k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Six Lessons from altMBA
skipperchong
27
3.5k
A better future with KSS
kneath
238
17k
Ruby is Unlike a Banana
tanoku
97
11k
Designing for humans not robots
tammielis
250
25k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
RailsConf 2023
tenderlove
29
900
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Transcript
Debugging JVM Applications
What we’ll learn? JVM Heap Structure - Memory management Allocation
difference - Java vs C/C++ Analysing workload - Heap differentiation Tools to understand what’s going on under the hood Demo - Sample applications
None
Types of GC collectors Serial Collector Parallel Garbage Collector CMS
Garbage Collector G1 Garbage Collector - New guy on the block
Hotspot heap structure
None
Sample GC
Command line tools ps -eLo pid,lwp,nlwp,ruser,pcpu,stime,etime,args | grep {pid} htop
Sar - historical system statistics iperf - network load testing tool
Jstat
Jvmtop - method profiling
Jvmtop - thread profiling
Sjk Plus - Java swiss knife jps - more detailed
process information than default hh - print heap histogram ssa - super dense heap dump stcap - analyse dense heap dump (print vs histo)
None
jconsole - jmx playground
dstat - monitoring swiss knife
VisualVm
VisualVm - thread profiling
VisualGC
Demo Normal new gen demo Normal new+oldgen demo OOM demo
Sample with locking Demo of deadlock
Thank you!