Skip Top Navigation Bar

JVM Memory Management and Garbage Collectors

Learn how memory management and garbage collection work, and how to use and configure JVM garbage collectors.

  1. Introduction to Memory Management

    Discover how memory management works, and how the JVM uses garbage collection to reclaim memory from unreachable objects.

  2. Garbage Collection Concepts and JVM Collectors

    Learn about JVM garbage collectors, heap generations, collection phases, and the differences between concurrent and parallel collection.

  3. Getting Started with ZGC

    Find out how to enable and configure ZGC, and which application requirements suit its focus on low latency and large heaps.

  4. Deep-dive into ZGC's Architecture

    Understand how ZGC uses colored pointers, load barriers, heap regions, and concurrent relocation to minimize garbage collection pauses.

  5. The G1 Garbage Collector

    Learn about G1's history, heap layout, and collection cycle, and how to enable and configure it for your application.

Learn More

HotSpot Virtual Machine Garbage Collection Tuning Guide

Learn More on YouTube