KIT | KIT-Bibliothek | Impressum
Open Access Logo
DOI: 10.5445/IR/1000025468

A Unified, Machine-Checked Formalisation of Java and the Java Memory Model

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 Forschungsbericht
Jahr 2011
Sprache Englisch
Identifikator ISSN: 2190-4782
URN: urn:nbn:de:swb:90-254682
KITopen ID: 1000025468
Verlag Karlsruhe
Serie Karlsruhe Reports in Informatics (früher: Interner Bericht. Fakultät für Informatik, Karlsruher Institut für Technologie) ; 2011,34
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft KITopen Landing Page