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

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.

主站蜘蛛池模板: 丹棱县| 将乐县| 广丰县| 泽库县| 富蕴县| 雷山县| 吉隆县| 元朗区| 扎兰屯市| 无锡市| 中卫市| 清徐县| 二连浩特市| 建阳市| 曲阳县| 简阳市| 西青区| 肥乡县| 汨罗市| 西平县| 抚远县| 唐海县| 五华县| 托克逊县| 新巴尔虎左旗| 永宁县| 阜城县| 开鲁县| 榆林市| 青川县| 绥化市| 循化| 闽侯县| 昆明市| 蚌埠市| 江孜县| 炎陵县| 寿宁县| 祁阳县| 休宁县| 独山县|