KIT | KIT-Bibliothek | Impressum | Datenschutz

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

Lochbihler, Andreas

Abstract:

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.


Volltext §
DOI: 10.5445/IR/1000025468
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Forschungsbericht/Preprint
Publikationsjahr 2011
Sprache Englisch
Identifikator ISSN: 2190-4782
urn:nbn:de:swb:90-254682
KITopen-ID: 1000025468
Verlag Karlsruher Institut für Technologie (KIT)
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