Table of Contents

About

A (program|package|procedure) is run under control of a profiling tool, which gives the time distribution among executed functions in the run.

After analyse of the output, you get the part of your program most of the time is spent.

Type

System profilers

  • Linux perf events, which can profile system code paths, including libjvm internals, GC, and the kernel, but not Java methods.

SDK Profiler

Example:

  • JVM profilers: such as hprof, Lightweight Java Profiler (LJP), and commercial profilers. These show Java methods, but not system code paths.