How Thresholds Trigger Full GC Scans

Generation 0 collection triggers when net allocations (allocations minus deallocations) exceed 700; Generation 1 collects after 10 Generation 0 cycles; and Generation 2 (a full collection) runs after 10 Generation 1 cycles.

Sources

Open the full topic