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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Phase12_総括_自走化
overflowinc
0
910
頼れる Agentic AI を支える Datadog のオブザーバビリティ / Powering Reliable Agentic AI with Datadog Observability
aoto
PRO
0
250
AgentCoreとLINEを使った飲食店おすすめアプリを作ってみた
yakumo
2
170
Bill One 開発エンジニア 紹介資料
sansan33
PRO
5
18k
"作る"から"使われる"へ:Backstage 活用の現在地
sbtechnight
0
240
詳解 強化学習 / In-depth Guide to Reinforcement Learning
prinlab
0
360
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
590
How to install a gem
indirect
0
200
エンジニアリングマネージャーの仕事
yuheinakasaka
0
120
「通るまでRe-run」から卒業!落ちないテストを書く勘所
asumikam
2
460
Visional 28新卒プロダクト職(エンジニア/デザイナー)向け 会社説明資料 / Visional Company Briefing for Newgrads 28
visional_engineering_and_design
1
110
コンテキスト・ハーネスエンジニアリングの現在
hirosatogamo
PRO
6
710
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
180
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Mobile First: as difficult as doing things right
swwweet
225
10k
Writing Fast Ruby
sferik
630
63k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
690
Visualization
eitanlees
150
17k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
310
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
990
Fireside Chat
paigeccino
42
3.8k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
450
Discover your Explorer Soul
emna__ayadi
2
1.1k
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!