Title :
Modelling Java concurrency with Object-Z
Author :
Duke, Roger ; Wildman, Luke ; Long, Brad
Author_Institution :
Sch. of Inf. Technol. & Electr. Eng., Queensland Univ., Brisbane, Qld., Australia
Abstract :
In this paper, we present a formal model of Java concurrency using the Object-Z specification language. This model captures the Java thread synchronization concepts of locking, blocking, waiting and notification. In the model, we take a viewpoints approach, first capturing the role of the objects and threads, and then taking a system view where we capture the way the objects and threads cooperate and communicate. As a simple illustration of how the model can, in general be applied, we use Object-Z inheritance to integrate the model with the classical producer-consumer system to create a specification directly incorporating the Java concurrency constructs.
Keywords :
Java; concurrency control; formal verification; multi-threading; object-oriented programming; specification languages; Java concurrency modelling; Java thread synchronisation; Object-Z; blocking; concurrent software; locking; notification; producer-consumer system; specification language; waiting; Australia; Computer languages; Concurrent computing; Formal specifications; Information technology; Java; Software testing; Specification languages; System testing; Yarn;
Conference_Titel :
Software Engineering and Formal Methods, 2003.Proceedings. First International Conference on
Conference_Location :
Brisbane, Queensland, Australia
Print_ISBN :
0-7695-1949-0
DOI :
10.1109/SEFM.2003.1236219