JVM – GC

JVM JVM memory model Java8 Heap Memory – store objects two different areas called the “Young Generation Space” (is divided into two portions called “Eden Space” and “Survivor Space: S0 and S1″) “Tenured Space“ (Old Generation Space) Meta Space (Perm Gen Space <Java8) Code Cache References strong weak soft phantom Garbage Collector Garbage Collector Serial […]

JVM – Memory Model in Java

Heap – java.lang.OutOfMemoryError Young Gen: Eden Space – newly created object, minor GC moving to the one of Survivor after clening, fast Stop the World, Young Gen: Survivor Space (S0, S1) – moving from one survivor to another, clean up, one of the Survivor is always empty, survived after many GC moved to Old Old Gen: […]