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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
(Test) ai-meetup slide creation
oikon48
3
400
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
4
350
AI駆動AI普及活動 ~ 社内AI活用の「何から始めれば?」をAIで突破する
oracle4engineer
PRO
1
100
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
460
ナレッジワークのご紹介(第88回情報処理学会 )
kworkdev
PRO
0
210
楽しく学ぼう!ネットワーク入門
shotashiratori
1
390
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
220
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
220
OCI技術資料 : コンピュート・サービス 概要
ocise
4
54k
「Blue Team Labs Online」入門 - みんなで挑むログ解析バトル
v_avenger
0
180
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
8
7.2k
ガバメントクラウドにおけるAWSの長期継続割引について
takeda_h
2
230
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Language of Interfaces
destraynor
162
26k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
200
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
180
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Un-Boring Meetings
codingconduct
0
220
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
76
Crafting Experiences
bethany
1
87
Ruling the World: When Life Gets Gamed
codingconduct
0
170
The Curse of the Amulet
leimatthew05
1
10k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
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!