Talk about Java Memory Model
•
Java
1、 Java Memory Model
Hardware processing
Computer hardware, we know that there are CPU for calculation, memory for auxiliary operation, hard disk and data bus for data transmission. During program execution, most of them are memory calculations. In order to perform calculations faster, the CPU will have a cache and finally synchronize to the main memory. The general interaction is shown in the figure below
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码