The new area, the old area, and the permanent generation in jvm
I. Introduction
I recently learned JVM, organized and recorded it during the learning process, and shared it with everyone. This article mainly explains the young generation , old generation and permanent generation of the memory area . The following is the text.
**Heap (heap)** is mainly used to store instance objects and arrays of various classes. Java is divided into two areas: the young generation and the old generation. There is also a meaning of permanent generation in java, which will be explained separately at the end.
2. The meaning of generation
In Java, the heap is divided into two different areas: the new generation (Young), the old generation (Old) and the permanent generation (Perm) . The new generation (Young) is divided into three areas&#x