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
Building a cloud native business on open source
lizrice
0
120
LLMプロダクトの信頼性を上げるには?LLM Observabilityによる、対話型音声AIアプリケーションの安定運用
ivry_presentationmaterials
0
690
今この時代に技術とどう向き合うべきか
gree_tech
PRO
2
2.1k
初めてのDatabricks Apps開発
taka_aki
1
210
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
43k
Introduction to Bill One Development Engineer
sansan33
PRO
0
300
AIとともに歩んでいくデザイナーの役割の変化
lycorptech_jp
PRO
0
630
AI Agent Dojo #2 watsonx Orchestrateフローの作成
oniak3ibm
PRO
0
140
Claude Codeを駆使した初めてのiOSアプリ開発 ~ゼロから3週間でグローバルハッカソンで入賞するまで~
oikon48
10
5.1k
OpenTelemetry が拡げる Gemini CLI の可観測性
phaya72
2
870
Geospatialの世界最前線を探る [2025年版]
dayjournal
1
260
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
0
210
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
A designer walks into a library…
pauljervisheath
209
24k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Building an army of robots
kneath
306
46k
What's in a price? How to price your products and services
michaelherold
246
12k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Designing Experiences People Love
moore
142
24k
Mobile First: as difficult as doing things right
swwweet
225
10k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
920
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!