Interview Prep Zoneby CuriouserLabs
⚙️

JVM Internals & Garbage Collection

Memory areas, generational GC, collector selection, leak hunting and JIT — what actually happens under your code.

  1. 1

    Describe the JVM's runtime data areas. What lives on the stack vs the heap vs Metaspace?

    senior🎬 animated
  2. 2

    How does generational garbage collection work, and why are most collections 'minor'?

    senior🎬 animated
  3. 3

    G1, ZGC, Parallel, Serial — how do you choose and tune a garbage collector for a service?

    architect
  4. 4

    A production JVM's old gen keeps growing until OutOfMemoryError. How do you find and fix the leak?

    architect
  5. 5

    What does the JIT compiler do, and why do Java services need warm-up? What are your options to reduce it?

    staff