Java Platform, Standard Edition

HotSpot Virtual Machine Garbage Collection Tuning Guide

Release 25

G33936-01

September 2025

This guide describes the garbage collection methods included in the Java HotSpot Virtual Machine (Java HotSpot VM) and helps you determine which one is the best for your needs.