Visual diagram of JVM memory areas — Heap, Young/Old generation, Metaspace, Stack, PC Register and Code Cache explained.