Call profiling

Call profiling typically involves inserting invocation counters in the JIT code to figure out how often a method call is executed, or inserting code that helps to compute a call graph. The collected profiling information is used to aid various code optimizations, for example to help pick better inlining candidates.

See also Adaptive code generation and JIT compilation.

Get Oracle JRockit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.