官术网_书友最值得收藏!

Memory model

The memory model describes how the JVM interacts with a computer's memory. By computer memory, we mean not only Random Access Memory (RAM) but also registers and cache memory of the CPU. So we consider the memory model as a simplified abstraction of the hardware memory architecture.

We can consider the whole JVM as a model of a computer that provides the ability to run a program on a wide range of processors and operating systems.

An understanding of the Java Memory Model is important because it specifies how different threads interact in memory. Concurrent programming involves plenty of different pitfalls in synchronization between threads that have shared variables and compliance with the consistency of a sequence of operations.

主站蜘蛛池模板: 张北县| 岳普湖县| 石门县| 云霄县| 曲靖市| 台州市| 巴东县| 丰镇市| 玉溪市| 宁海县| 高州市| 裕民县| 鄯善县| 买车| 奇台县| 宿州市| 临沧市| 厦门市| 建宁县| 台北市| 迁安市| 柞水县| 增城市| 沙湾县| 双牌县| 义马市| 高雄市| 岳阳市| 安庆市| 绥棱县| 米脂县| 岳西县| 西林县| 隆尧县| 潢川县| 车险| 新田县| 宁蒗| 廊坊市| 五莲县| 望奎县|