Skip to main content
PreparationZone Logo
PreparationZone
Back to Java

Java · Hard · Pro

G1 GC regions — humongous objects and mixed collections?

JavaMemory & JVMStaff
Model answerPreview

G1 regions

G1 divides the heap into equal-sized regions (1–32 MB). Collections target subset of regions (young + mixed) to meet pause time goals. Humongous objects span multiple regions and can trigger…