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
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
370
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
400
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.4k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
AI駆動開発を事業のコアに置く
tasukuonizawa
1
180
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
570
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
600
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
120
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
Featured
See All Featured
Leo the Paperboy
mayatellez
4
1.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
The Invisible Side of Design
smashingmag
302
51k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
190
30 Presentation Tips
portentint
PRO
1
210
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
67
Google's AI Overviews - The New Search
badams
0
900
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
57
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!