stop-the-world
-
Garbage Collection (GC)StaticPL/JAVA 2019. 8. 23. 06:51
1. Overview Since Java oriented programs don't deallocate memory explicitly, Garbage collection tracks each and every object available in the JVM space and removes unused ones. GC works in two simple steps known as Mark and Sweep. 2. Minor GC Collecting garbage from Young space (consisting of Eden and Survivor spaces) is called a Minor GC. This definition is both clear and uniformly understood. ..