One, foreword

The JVM runtime data area is not the same concept as the JVM memory model

The Full Java life cycle

P.S. cites a picture from the Internet

Third, the JVM

4. Runtime data area

Java memory model

The Java memory model is a standard for reading and writing shared variables in the case of multi-thread concurrency, mainly to solve the problems of multi-thread visibility and atomicity, and solve the conflicts of multi-thread operation of shared variables.

Photo quote:

JVM memory model + runtime data area – HeartFlow – Blog park

www.cnblogs.com! [] icon (https://p3-juejin….

JVM class loading process