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

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.

主站蜘蛛池模板: 庐江县| 临邑县| 嘉义县| 嘉义市| 绥中县| 乌拉特中旗| 沅江市| 安达市| 乌鲁木齐市| 西安市| 宝鸡市| 福建省| 宁远县| 屏南县| 灵石县| 如皋市| 富民县| 湘潭县| 兴和县| 靖西县| 家居| 波密县| 海城市| 景泰县| 宁都县| 高雄县| 邢台县| 瑞金市| 长宁县| 嫩江县| 正定县| 米易县| 绍兴县| 岐山县| 隆昌县| 乡城县| 新龙县| 桃江县| 镇平县| 察雅县| 军事|