Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Live Java Profiling

Fabian Lange
November 07, 2012

Live Java Profiling

Fabian Lange

November 07, 2012

Transcript

35 slides
  1. "WE SHOULD FORGET ABOUT SMALL EFFICIENCIES, SAY ABOUT 97% OF

    THE TIME: PREMATURE OPTIMIZATION IS THE ROOT OF ALL EVIL" Donald Knuth (1974)
  2. Sprache der Profiler • Instrumentation • Sampling • Wall Clock

    & CPU Time • Self & Cumulative • Allocation • Live & GCed • Hotspot
  3. 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

More Decks by Fabian Lange

Other Decks in Technology