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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Bhuvan Rawal
September 13, 2017
Technology
1.5k
1
Share
Debugging and profiling jvm applications
Bhuvan Rawal
September 13, 2017
Other Decks in Technology
See All in Technology
AI対話分析の夢と、汚いデータの現実 Looker / Dataplex / Dataform で実現する品質ファーストな基盤設計
waiwai2111
0
430
Agent Skillsで実現する記憶領域の運用とその後
yamadashy
2
1.8k
世界の中心でApp Runnerを叫ぶ FINAL
tsukuboshi
0
260
変化の激しい時代をゴキゲンに生き抜くために 〜ストレスマネジメントのススメ〜
kakehashi
PRO
5
1.3k
新卒エンジニア研修、ハンズオンの設計における課題と実践知/ #tachikawaany
nishiuma
2
140
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.6k
フロントエンドの相手が変わった - AIが加わったWebの新しいインターフェース設計
azukiazusa1
33
11k
大学職員のための生成AI最前線 :最前線を、AIガバナンスとして読み直すためのTips
gmoriki
2
4k
Purview 勉強会報告 Microsoft Purview 入門しようとしてみた
masakichixo
1
360
雑談は、センサーだった
bitkey
PRO
2
230
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.5k
AIエージェントの支払い基盤 AgentCore Payments概要
kmiya84377
2
170
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
340
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
WCS-LA-2024
lcolladotor
0
580
Embracing the Ebb and Flow
colly
88
5k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
170
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
Abbi's Birthday
coloredviolet
2
7.5k
Bash Introduction
62gerente
615
210k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
250
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
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!