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.5k
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
Other Decks in Technology
See All in Technology
インフラと開発の垣根を超えていき!〜元AWSインフラエンジニアがAWS開発で奮闘している話〜
hatahata021
2
170
SRE本の知られざる名シーン / The Hidden Gems of Google SRE Book
nari_ex
1
380
「早く出す」より「事業に効く」 ── 顧客の業務サイクルから逆算するAI時代の二重ループ開発と「変化の設計者」 / devsumi2026
rakus_dev
1
230
LLMやAIエージェントをソフトウェアに組み込むプラクティス
shibuiwilliam
1
360
AI時代の EM への処方箋
staka121
PRO
0
140
ポストモーテム! DDoSからサイトは守れた。 でもビジネスは守れなかった。
bengo4com
0
2.9k
DatabricksにおけるMCPソリューション
taka_aki
1
240
Databricks 生成AIガバナンス実践ワークショップ / LLMOps-workshop
databricksjapan
0
100
ローカルLLMとLINE Botの組み合わせ その3 / LINE DC Generative AI Meetup #8
you
PRO
0
130
キャリアの中で本を作る / Making a Book During Your Career
ak1210
0
140
AI Driven AI Governance
pict3
0
350
実装だけじゃない! CCA-F取得エンジニアが教えるClaude Code開発プロセス活用術
diggymo
2
680
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
55
12k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
340
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
500
Paper Plane (Part 1)
katiecoart
PRO
0
9.6k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.5k
Building an army of robots
kneath
306
46k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
460
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
490
Believing is Seeing
oripsolob
1
170
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Music & Morning Musume
bryan
47
7.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!