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
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
パスキーでドライブする アカウント統合(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
350
1000⼈規模のClaude Enterprise運⽤を「Oktaのグループ」と「Slack」に集約する
sansantech
PRO
0
490
APIセキュリティを組織で実現するには~注力する点と設計・実装に入れたい対策~
riiimparm
2
690
サービス内で複数のOP・ASを連鎖させる(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
350
[RSJ26] Flow as Flow: Modeling Robot Velocity Fields as Probability Velocity Fields
keio_smilab
PRO
0
100
hookで自作する Claude Code の「実況ボード」
shinyasaita
2
220
サーバー常駐型の 簡易障害調査AI エージェントを作ってみた話
masayoshi
1
290
全社に広がるMCPサーバーを、 どう安全に管理するか MCPass開発の舞台裏
mtpooh
3
180
Data Hubグループ 紹介資料
sansan33
PRO
0
3.2k
エージェント化するAI:現在地とその先に起きる変化 / AI as Agents: The Current State and the Changes Ahead
ks91
PRO
0
150
8bit CPU 2026
koba789
7
3k
会計事務所と顧問先の契約関係をOIDC・OAuthで表現する
terara
0
480
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
220
The SEO Collaboration Effect
kristinabergwall1
1
530
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
250
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
450
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
280
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
220
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Un-Boring Meetings
codingconduct
0
400
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
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