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
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
150
How we process billions of metrics to make your microservices run smoothly
codingfabian
1
290
Predicting and Preventing Outages
codingfabian
0
190
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
4k
Garbage Collection Probleme Einfach Lösen
codingfabian
0
1.3k
Other Decks in Technology
See All in Technology
Control Planeで育てるBtoB SaaSの認証基盤 - SRE NEXT 2026
pokohide
1
2.2k
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
400
しくみを学んで使いこなそう GitHub Copilot app
torumakabe
1
200
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
2
3.5k
クラウド上のデータ復旧で見落としがちな制約: 医療系 SaaS の BCP 設計から得た教訓
kakehashi
PRO
0
3.3k
オブザーバビリティ、本当に活用できてる? 〜API連携×生成AIで成熟度を自動評価〜
dmmsre
1
2.8k
Genie Ontologyは銀の弾丸かを考える / Is Genie Ontology a Silver Bullet?
nttcom
0
210
ヘルスケア領域における AI 活用と その安全性担保のための取り組み (Leveraging AI in Healthcare and Our Efforts to Ensure Its Safety) - Google I/O Extended Tokyo 2026, July 11, 2026
zettaittenani
0
260
Zoom2Youtube.Claude
kawaguti
PRO
3
490
貴方はどのエンジニアリングを磨くのか
hatyibei
0
110
AIと共生する開発者プラットフォーム:バクラクのモノレポ×マイクロサービス基盤
sakajunquality
2
3.3k
ボーイスカウトルールでメモリやスキルを改善しよう
azukiazusa1
1
290
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.6k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
410
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Navigating Team Friction
lara
192
16k
Building Applications with DynamoDB
mza
96
7.1k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
390
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
890
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
A designer walks into a library…
pauljervisheath
211
24k
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