Skip to main content

Create Smaller Methods

The JIT compiler is able to perform a number of optimisations when compiling Java into byte-code. Java hotspot is aimed at finding hot methods (ones likely to be called more frequently).

As part of the JIT process, the compiler will aggressively inline a number of methods.