HOME | DEUTSCH | IMPRESSUM | KIT

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

[lochbihler09tr]Andreas Lochbihler, A Unified, Machine-Checked Formalisation of Java and the Java Memory Model, Karlsruhe Reports in Informatics, Technical Report, Nr. 2011-34, December 2011.

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.

Download

  [Link]

BibTeX

Authors at the institute

Former Staff Member
Dr. rer. nat. Andreas Lochbihler

Projects

Project
Quis-Custodiet