We introduce "state classes", a construct to program objects that can be safely concurrently accessed. State classes model the notion of object's state (intended as some abstraction over the value of fields) that plays a key role in concurrent object-oriented programming (as the state of an object changes, so does its coordination behavior). We show how state classes can be added to Java-like languages by presenting StateJ, an extension of Java with state classes. The operational semantics of the state class construct is illustrated both at an abstract level, by means of a core calculus for StateJ, and at a concrete level, by defining a translation from StateJ into Java.

On State Classes and Their Dynamic Semantics

DAMIANI, Ferruccio;GIACHINO, Elena;
2008-01-01

Abstract

We introduce "state classes", a construct to program objects that can be safely concurrently accessed. State classes model the notion of object's state (intended as some abstraction over the value of fields) that plays a key role in concurrent object-oriented programming (as the state of an object changes, so does its coordination behavior). We show how state classes can be added to Java-like languages by presenting StateJ, an extension of Java with state classes. The operational semantics of the state class construct is illustrated both at an abstract level, by means of a core calculus for StateJ, and at a concrete level, by defining a translation from StateJ into Java.
2008
Software and Data Technologies
Springer
COMMUNICATIONS IN COMPUTER AND INFORMATION SCIENCE
10
84
96
9783540706199
9783540706212
http://www.springer.com/computer/programming/book/978-3-540-70619-9
http://www.springerlink.com/content/h3m0151k2q466168/
Java; concurrent object-oriented language; small-step semantics; core calculus; implementation by translation.
Ferruccio Damiani; Elena Giachino; Paola Giannini; Emanuele Cazzola
File in questo prodotto:
File Dimensione Formato  
VolumeSoftwareAndDataTechologies-2008.pdf

Accesso riservato

Descrizione: Articolo principale
Tipo di file: PDF EDITORIALE
Dimensione 479.11 kB
Formato Adobe PDF
479.11 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/72301
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 1
social impact