HOME | DEUTSCH | IMPRESSUM | KIT

Technical Report: The Java Memory Model is Type Safe

[lochbihler12tr]Andreas Lochbihler, The Java Memory Model is Type Safe, Karlsruhe Reports in Informatics, Technical Report, Nr. 2012-23, December 2012.

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 dynamic memory 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.

Download

  [Link]

BibTeX

Authors at the institute

Former Staff Member
Dr. rer. nat. Andreas Lochbihler

Projects

Project
Quis-Custodiet