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
Live Java Profiling
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Fabian Lange
November 07, 2012
Technology
980
1
Share
Live Java Profiling
Fabian Lange
November 07, 2012
More Decks by Fabian Lange
See All by Fabian Lange
Building a Kubernetes Operator in Quarkus
codingfabian
0
240
Building a Tech Startup Outside the Silicon Valley
codingfabian
0
130
How we process billions of metrics to make your microservices run smoothly
codingfabian
1
280
Predicting and Preventing Outages
codingfabian
0
170
Moderne Architekturen zeitgemäß überwachen und optimieren
codingfabian
0
170
Does My Profiler Tell The Truth - JavaZone & JavaOne 2015
codingfabian
1
2.5k
Web Performance Optimization
codingfabian
0
1.1k
Does My Profiler Tell The Truth?
codingfabian
1
3.9k
Garbage Collection Probleme Einfach Lösen
codingfabian
0
1.3k
Other Decks in Technology
See All in Technology
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
160
AI時代のIssue駆動開発のススメ
moongift
PRO
0
320
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
140
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
210
来期の評価で変えようと思っていること 〜AI時代に変わること・変わらないこと〜
estie
0
130
Podcast配信で広がったアウトプットの輪~70人と音声発信してきた7年間~/outputconf_01
fortegp05
0
130
The essence of decision-making lies in primary data
kaminashi
0
190
Oracle Cloud Infrastructure:2026年3月度サービス・アップデート
oracle4engineer
PRO
0
220
Why we keep our community?
kawaguti
PRO
0
350
脳が溶けた話 / Melted Brain
keisuke69
1
1.1k
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
200
AWS DevOps Agent or Kiro の使いどころを考える_20260402
masakiokuda
0
120
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.2k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
470
The Cult of Friendly URLs
andyhume
79
6.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Docker and Python
trallard
47
3.8k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
150
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
180
Transcript
Live Java Profiling Fabian Lange
Haben wir ein Problem?
"WE SHOULD FORGET ABOUT SMALL EFFICIENCIES, SAY ABOUT 97% OF
THE TIME: PREMATURE OPTIMIZATION IS THE ROOT OF ALL EVIL" Donald Knuth (1974)
Wissen ist Macht
Die JVM als Informant
Der Profiler als Übersetzer
Profiler sind Nerds
Sprache der Profiler • Instrumentation • Sampling • Wall Clock
& CPU Time • Self & Cumulative • Allocation • Live & GCed • Hotspot
Pseudocode t main() foo() bar() baz()
Sampling t main() foo() bar() baz()
Sampling t main() foo() bar() baz()
Sampling t main() foo() bar()
None
Instrumentation t main() foo() bar() baz()
Instrumentation t main() foo() bar() baz()
PROFILERBAU https://github.com/CodingFabian/SamplingVsInstrumentation
https://blog.codecentric.de/en/2011/10/measure-java-performance- sampling-or-instrumentation/
http://www-plan.cs.colorado.edu/klipto/ http://bryanpendleton.blogspot.de/2010/08/improving-accuracy-of- java-profilers.html
REAL WORLD
ITEXT
None
ITEXT Analyse mit JProfiler
JBOSS RULES
None
JBOSS RULES Analyse mit JProfiler
VAADIN
None
VAADIN Analyse mit JProfiler
GLUSTER
None
-XX:+HeapDumpOnOutOfMemoryError
GLUSTER Analyse mit Eclipse MAT
Profiling Tipps • Mit Sampling starten • CPU – Hotspots
– Pfeil-Rechts • Speicher – Allocation Hotspots – Hohe Objektanzahl – Filter nach eigenem Package • Threads – Timeline – Dumps • Absolute / Relative Anzeige ausprobieren
PROFILING IST EINFACH
Kontakt • CodingFabian •
[email protected]
• blog.codecentric.de Folien auf speakerdeck.com/codingfabian