Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Debugging and profiling jvm applications
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Bhuvan Rawal
September 13, 2017
Technology
1.6k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Debugging and profiling jvm applications
Bhuvan Rawal
September 13, 2017
Transcript
20 slides
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!
Other Decks in Technology
See All in Technology
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
200
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.1k
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
300
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
あの日、見つかっていなかったらどうなっていたか
kazzpapa3
2
260
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
1
210
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.2k
【Oracle AI SPOTLIGHT ウェビナー】【特別開催:日本語で解説!】Oracle AI World 2026 最新情報フィードバック
oracle4engineer
PRO
1
280
WasmをRustにする技術
sansantech
PRO
1
120
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
460
20261113_JAWS_Osaka
takuyay0ne
1
580
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
450
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
850
Marketing to machines
jonoalderson
1
6k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
340
Making the Leap to Tech Lead
cromwellryan
135
10k
Building AI with AI
inesmontani
PRO
1
1.4k
Docker and Python
trallard
47
4.3k
A better future with KSS
kneath
240
18k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350