Making the java memory model safe

23Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.

Abstract

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 dynamicmemory 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. © 2013 ACM.

Cite

CITATION STYLE

APA

Lochbihler, A. (2013). Making the java memory model safe. ACM Transactions on Programming Languages and Systems, 35(4). https://doi.org/10.1145/2518191

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free