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

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.

主站蜘蛛池模板: 汉沽区| 庆阳市| 石林| 涞水县| 鲁山县| 新绛县| 屏南县| 明溪县| 长武县| 盖州市| 巴东县| 新疆| 辰溪县| 新河县| 高碑店市| 福清市| 淮滨县| 永城市| 黄冈市| 西充县| 福泉市| 西充县| 泰宁县| 唐海县| 米泉市| 鹿邑县| 南康市| 含山县| 延庆县| 丹巴县| 磐安县| 甘泉县| 成武县| 逊克县| 玉田县| 孟州市| 个旧市| 琼海市| 上犹县| 乌鲁木齐市| 盖州市|