Explain garbage collection basics in the JVM.

New objects allocate in Eden; minor GC copies survivors to survivor spaces, then old gen. When old gen fills, major/full GC runs — longer pauses. Tune -Xmx,...

Explain garbage collection basics in the JVM. · Home · Support the platform