Making the Java Memory Model Safe
Making the Java Memory Model Safe
复制标题
DOI:
10.1145/2518191
复制
发表时间:
2013-12-01
影响因子:
1.3
通讯作者:
Lochbihler, Andreas
中科院分区:
文献类型:
--
作者:
Lochbihler, Andreas
This work presents a machine-checked formalisation of the Java memory model and connects it to an operational semantics for Java and Java bytecode. For the whole model, I prove the data race freedom guarantee and type safety. The model extends previous formalisations by dynamic memory allocation, thread spawns and joins, infinite executions, the wait-notify mechanism, and thread interruption, all of which interact in subtle ways with the memory model. The formalisation resulted in numerous clarifications of and fixes to the existing JMM specification.