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
[JAWS-UG新潟#20] re:Invent2024 -CloudOperationsアップデートについて-
shintaro_fukatsu
0
120
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
380
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
340
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
Work as an App Engineer
lycorp_recruit_jp
0
330
5分でわかるDuckDB
chanyou0311
10
3.3k
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
220
LINEヤフーのフロントエンド組織・体制の紹介【24年12月】
lycorp_recruit_jp
0
540
非機能品質を作り込むための実践アーキテクチャ
knih
5
1.6k
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
130
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
328
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Done Done
chrislema
182
16k
Become a Pro
speakerdeck
PRO
26
5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
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!