[JVM] Newborn area, old area, 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.

insert image description here
**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.

insert image description here

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

Guess you like

Origin blog.csdn.net/weixin_44299027/article/details/130232826