KIT | KIT-Bibliothek | Impressum | Datenschutz

Java and the Java Memory Model - a Unified, Machine-Checked Formalisation

Lochbihler, Andreas

We present a machine-checked formalisation of the Java memory model and connect it to an operational semantics for Java source code and bytecode. This provides the link between sequential semantics and the memory model that has been missing in the literature. Our model extends previous formalisations by dynamic memory allocation, thread spawns and joins, infinite executions, the wait-notify mechanism and thread interruption. We prove the Java data race freedom guarantee for the complete formalisation in a modular way. This work makes the assumptions about the sequential semantics explicit and shows how to discharge them.

Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Proceedingsbeitrag
Jahr 2012
Sprache Englisch
Identifikator ISBN: 978-3-642-28868-5
KITopen-ID: 1000027285
Erschienen in Programming languages and systems : proceedings, 21st European Symposium on Programming, ESOP 2012, Tallinn, Estonia, March 24 - April 1, 2012. Ed.: H. Seidl
Verlag Springer, Berlin
Seiten 493-513
Serie Lecture Notes in Computer Science ; 7211
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page