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
Claude Codeで実践するスペック駆動開発入門 / sdd-with-claude_code
yoshidashingo
3
4.5k
AI活用を"目的"にしたら、データの本質が見えてきた - Snowflake Intelligence実験記 / chasing-ai-finding-data
pei0804
0
520
AI が Approve する開発フロー / How AI Reviewers Accelerate Our Development
zaimy
1
190
React 19時代のコンポーネント設計ベストプラクティス
uhyo
17
6.8k
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
1
920
Kubernetes環境周りの責任範囲をいい機会なので考える / Taking the Opportunity to Clarify Kubernetes Responsibilities
kohbis
1
110
EKSで実践する オブザーバビリティの現在地
honmarkhunt
2
300
あすけん_Developers_Summit_2026_-_Vibe_Coding起点での新機能開発で__あすけん_が乗り越えた壁.pdf
iwahiro
0
740
Claude Codeはレガシー移行でどこまで使えるのか?
ak2ie
0
790
GoとWasmでつくる軽量ブラウザUI
keyl0ve
0
130
意志を実装するアーキテクチャモダナイゼーション
nwiizo
3
1.7k
AWS CDK の目玉新機能「Mixins」とは / cdk-mixins
gotok365
2
260
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.4k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
300
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Facilitating Awesome Meetings
lara
57
6.8k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
GraphQLとの向き合い方2022年版
quramy
50
14k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
930
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
130
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
450
Practical Orchestrator
shlominoach
191
11k
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!