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
LINEヤフーのフロントエンド組織・体制の紹介
lycorp_recruit_jp
1
1.2k
学術機関におけるID連携とOpenID Connect
fujie
0
310
JEP 480: Structured Concurrency
aya_ebata
0
130
公共交通データとアプリ制作 - Mini Tokyo 3D の初期制作過程を振り返る
nagix
1
110
不動産売買取引におけるAIの可能性とプロダクトでのAI活用
zabio3
0
270
効果的なオンコール対応と障害対応
ryuichi1208
6
3.1k
あなたの知らないiOS開発の世界
recruitengineers
PRO
3
190
テスト”ケース”駆動開発 で手戻りをなくそう
ryohma0510
0
330
リアルお遍路+SORACOM IoT
ozk009
1
140
2ヶ月かかるDBアップグレード検証を最大2週間に短縮した自作Go製CLIツール「Platinum」を紹介する / Introducing Go CLI tool "Platinum" for shortened DB upgrade validation
vtryo
2
100
『GRANBLUE FANTASY Relink』ソフトウェアラスタライザによる実践的なオクルージョンカリング
cygames
0
180
持続可能なソフトウェア開発を支える『GitHub CI/CD実践ガイド』
tmknom
8
1.4k
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
Being A Developer After 40
akosma
84
590k
Making the Leap to Tech Lead
cromwellryan
128
8.8k
Rails Girls Zürich Keynote
gr2m
93
13k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Scaling GitHub
holman
458
140k
Building Your Own Lightsaber
phodgson
101
6k
Imperfection Machines: The Place of Print at Facebook
scottboms
263
13k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Clear Off the Table
cherdarchuk
91
320k
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!