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

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.

主站蜘蛛池模板: 泽州县| 红河县| 利津县| 抚顺市| 江源县| 大同县| 大名县| 新源县| 金湖县| 白山市| 涞源县| 鲁山县| 黄大仙区| 洞口县| 清水河县| 台南市| 柳河县| 北海市| 云林县| 巩义市| 营山县| 尼玛县| 定安县| 海宁市| 武冈市| 尤溪县| 思茅市| 华蓥市| 安义县| 武鸣县| 南部县| 吉首市| 海兴县| 涿鹿县| 杨浦区| 鸡东县| 元氏县| 南木林县| 闽清县| 吉木萨尔县| 渭源县|