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
ファインディにおけるフロントエンド技術選定の歴史
puku0x
2
1.6k
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
230
AI時代のPMに求められるのは 「Ops」と「Enablement」
shimotaroo
0
180
旬のブリと旬の技術で楽しむ AI エージェント設計開発レシピ
chack411
1
300
2026/01/16_実体験から学ぶ 2025年の失敗と対策_Progate Bar
teba_eleven
1
210
The Engineer with a Three-Year Cycle
e99h2121
0
160
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
3
970
クラウドセキュリティの進化 — AWSの20年を振り返る
kei4eva4
0
150
Web Intelligence and Visual Media Analytics
weblyzard
PRO
1
6.8k
歴史から学ぶ、Goのメモリ管理基礎
logica0419
14
2.9k
【northernforce#54】SalesforceにおけるAgentforceの位置づけ・事例紹介
yutosatou_kit
0
100
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
110
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
82
Automating Front-end Workflow
addyosmani
1371
200k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1.1k
How STYLIGHT went responsive
nonsquared
100
6k
Marketing to machines
jonoalderson
1
4.6k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
390
We Have a Design System, Now What?
morganepeng
54
8k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
230
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
890
Into the Great Unknown - MozCon
thekraken
40
2.2k
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!