Abekus — AI learning and job matching platform logo

Java JVM & Performance

  • 178 lessons
  • About 20 hours
  • Self-paced
  • Certificate on completion
0%Complete
Guided Mode

Start with lesson 1

178 lessons. The first one is free, no signup needed.

🗺️ Your learning path
JVM History & Philosophy
JVM Execution Model

What you'll learn

  • Read the JVM execution model — from bytecode through the interpreter to the JIT — and explain why Java is fast despite running on a virtual machine.
  • Map the JVM runtime data areas — heap, stack, metaspace, code cache, native memory — and recognise which area is responsible for which class of OutOfMemoryError.
  • Reason about object lifecycle on the heap — young vs old generation, allocation paths, escape analysis — and the non-heap and off-heap memory you do not get for free.
  • State the core GC concepts — reachability, roots, generational hypothesis, mark/sweep/copy/compact — and pick the right GC performance metric (throughput, pause time, allocation rate) for the workload.
  • Pick the right GC collector — Serial, Parallel, G1, ZGC, Shenandoah — by matching workload, heap size, and pause-time budget to the trade-offs each collector makes.
  • Reason about JIT compilation — C1 vs C2 tiers, inlining, escape analysis, deoptimisation, code-cache pressure — and recognise where a JIT decision becomes a production bottleneck.
  • Trace class loading — parent-delegation, the bootstrap/platform/system loaders, initialisation order, and the advanced patterns (custom classloaders, hot reload, classloader leaks) that bite at scale.
  • Apply the Java Memory Model in production — visibility, ordering, happens-before edges, the safe-publication patterns, and the canonical JMM pitfalls (double-checked locking, racy reads, ABA).
  • Use JVM diagnostic and profiling tools — jstat, jcmd, jmap, jstack, async-profiler, JFR, GC logs — to find the actual bottleneck rather than the one you suspected.
  • Recognise performance patterns and anti-patterns — memory-efficient data structures, hot-path optimisation, and the memory-leak shapes (caches without eviction, ThreadLocal leaks, listener references) that page on-call.
  • Tune the JVM deliberately — heap and memory flags, GC tuning flags, compiler and runtime flags — and know which flags are levers worth pulling vs which are cargo-culted.
  • Make JVM and performance decisions under interview and on-call pressure — concept comparisons, pattern selection, and applied scenarios that combine every previous topic.

About this course

Java JVM & Performance is a practice course on Abekus built around 1,500+ MCQs covering everything between your Java code and the bytes running on the CPU — the JVM's runtime data areas, the heap and its generations, the GC algorithms (Serial, Parallel, G1, ZGC, Shenandoah), JIT compilation, class loading, the Java Memory Model, profiling and diagnostic tooling, and the -XX tuning flags that turn a server-class JVM into a tuned production runtime.

The format is one question at a time with an explanation that fires the moment you click a wrong answer. No videos, no skimming a 600-page book — retrieval practice on the questions senior interviewers and on-call engineers actually face. You will trace heap allocation paths, predict whether a snippet triggers a young-gen or old-gen collection, recognise GC log patterns, and pick the right -XX flag for a workload.

Jobs that ask for Java

940 live openings list Java as a required skill.

See all Java jobs ›
Learning path

Java Mastery

A complete Java learning track on Abekus — from language fundamentals through Collections, Streams, Functional Programming, Concurrency, JVM internals, and Interview Mastery. Free MCQ practice with instant explanations across every topic the language hinges on, designed as a progression: each course builds on the one before.

7 courses·12,793 practice MCQs·166h of content

Frequently asked questions