Skip to content
UPEEC

JVM and Performance

How the JVM loads, verifies, compiles and runs code — and how to tune and profile it.

Advanced
Comments 0

This is an overview — pick a sub-topic below.

Sub-topics (11)

Class Loading

Class loaders find and load classes on demand: bootstrap → platform → application loaders.

Advanced♥ 0🔖 0💬 0

Bytecode Verification

The JVM checks loaded bytecode for type safety and valid stack usage before running it.

Advanced♥ 0🔖 0💬 0

JIT Compilation

The JVM interprets bytecode, profiles hot methods, then compiles them to optimised native code (C1/C2 tiers).

Advanced♥ 0🔖 0💬 0

Garbage Collection

Automatic memory reclamation of unreachable objects.

Intermediate♥ 0🔖 0💬 0

Heap and Stack in Java

Objects live on the shared heap; each thread has a stack of frames with locals and references.

Easy♥ 0🔖 0💬 0

JVM Tuning

Configure memory and GC with flags.

Advanced♥ 0🔖 0💬 0

Java Flight Recorder

Low-overhead built-in profiling and event recording for production JVMs.

Advanced♥ 0🔖 0💬 0

Java Mission Control

A desktop tool for analysing JFR recordings — hot methods, allocations, GC pauses, locks.

Advanced♥ 0🔖 0💬 0

Memory Leaks in Java

Objects still referenced but no longer needed — GC can't free them.

Intermediate♥ 0🔖 0💬 0

JMX

Java Management Extensions: expose and monitor metrics and controls of a running JVM.

Advanced♥ 0🔖 0💬 0

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.