PrepZone Logo
PrepZone
Back to Java

Java · Hard

What are GC algorithms (Serial, Parallel, CMS, G1)?

JavaMemory & JVMJVM

Answer preview

Serial GC (-XX:+UseSerialGC): Single-threaded, stop-the-world. Suitable for small heaps and client-side applications.…