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
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
390
TLSから見るSREの未来
atpons
2
190
AIの全社活用を推進するための安全なレールを敷いた話
shoheimitani
2
610
Delegating the chores of authenticating users to Keycloak
ahus1
0
170
american aa airlines®️ USA Contact Numbers: Complete 2025 Support Guide
aaguide
0
460
Lakebaseを使ったAIエージェントを実装してみる
kameitomohiro
0
170
microCMSではじめるAIライティング
himaratsu
0
110
Sansanのデータプロダクトマネジメントのアプローチ
sansantech
PRO
0
220
TableauLangchainとは何か?
cielo1985
1
140
Amplify Gen2から知るAWS CDK Toolkit Libraryの使い方/How to use the AWS CDK Toolkit Library as known from Amplify Gen2
fossamagna
0
150
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
250
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
400
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
35
6.7k
Unsuck your backbone
ammeep
671
58k
Building Adaptive Systems
keathley
43
2.7k
Faster Mobile Websites
deanohume
307
31k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Building Applications with DynamoDB
mza
95
6.5k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
740
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!