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;
2006-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.
2006
1st International Conference on Software and Data Technologies, ICSOFT 2006
Setubal, Portugal
11 September 2006 through 14 September 2006
ICSOFT 2006, First International Conference on Software and Data Technologies, Setúball, Portugal, September 11-14, 2006
INSTICC Press
1
5
12
9728865694
9789728865696
http://www.scopus.com/inward/record.url?eid=2-s2.0-56549117964&partnerID=40&md5=d660fe47e9cdd5742514cc2c13525f81
Concurrent object-oriented language; Core calculus; Implementation by translation; Java; Small-step semantics
F. Damiani;E. Giachino;P. Giannini;E. Cazzola
File in questo prodotto:
Non ci sono file associati a questo prodotto.

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/122380
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
social impact