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

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.

主站蜘蛛池模板: 改则县| 丹凤县| 岑巩县| 珠海市| 达州市| 济南市| 肇州县| 济阳县| 曲阳县| 南开区| 惠东县| 都江堰市| 武清区| 南京市| 东乌珠穆沁旗| 双城市| 满洲里市| 台东市| 荔浦县| 嘉定区| 柞水县| 河间市| 定日县| 稷山县| 喀什市| 阿尔山市| 武冈市| 乌审旗| 金门县| 定结县| 绍兴县| 华坪县| 淳化县| 栾城县| 喜德县| 璧山县| 乌鲁木齐县| 乐东| 乐安县| 修武县| 饶阳县|