The Java memory model
University of Maryland, College Park · University of Illinois Urbana-Champaign
Abstract
This paper describes the new Java memory model, which has been revised as part of Java 5.0. The model specifies the legal behaviors for a multithreaded program; it defines the semantics of multithreaded Java programs and partially determines legal implementations of Java virtual machines and compilers.The new Java model provides a simple interface for correctly synchronized programs -- it guarantees sequential consistency to data-race-free programs. Its novel contribution is requiring that the behavior of incorrectly synchronized programs be bounded by a well defined notion of causality. The causality requirement is strong enough to respect the safety and security properties of Java and weak enough to allow…
Citation impact
- FWCI
- 53.28
- Percentile
- 100%
- References
- 47
Authors
3Topics & keywords
- Computer science
- Programming language
- Java Modeling Language
- Java
- Java annotation
- Compiler
- Real time Java
- Java concurrency
- Peace, Justice and strong institutions