Closed and open nested atomic actions for Java: Language design and prototype implementation

Keith Chapman, Antony L. Hosking, J. Eliot B. Moss, Tim Richards

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Citations (Scopus)

Abstract

We describe the design and prototype implementation of a dialect of Java, XJ, that supports both closed and open nested transactions. As we have previously advocated, open nesting most naturally attaches to the class as the primary abstraction mechanism of Java. The resulting design allows natural expression of layered abstractions for concurrent data structures, while promoting improved concurrency for operations on those abstractions. Moreover, we describe our approach to constructing a prototype implementation of XJ that runs on standard Java virtual machines, by grafting support for transactions onto both application code and library code via load-time bytecode rewriting, for full execution coverage. We rely on extensions to the javac compiler, a JVMTI run-time agent to intercept and rewrite Java classes as they are loaded into the virtual machine, and a run-time library that tracks and manages all transaction meta-data. The resulting prototype will allow further exploration of implementation alternatives for open and closed nested transactions in Java. Our design also addresses the issue of internal deadlock caused by accessing the same data in both closed and open nesting fashion by carefully disallowing such access.

Original languageEnglish
Title of host publication7th International Workshop on Network on Chip Architectures - In Conjunction with the 47th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO-47
PublisherAssociation for Computing Machinery
Pages169-180
Number of pages12
ISBN (Electronic)9781450330640
DOIs
Publication statusPublished - 13 Dec 2014
Externally publishedYes
Event7th International Workshop on Network on Chip Architectures, NoCArc 2014 - Cambridge, United Kingdom
Duration: 13 Dec 2014 → …

Publication series

NameACM International Conference Proceeding Series
Volume13-December-2014

Conference

Conference7th International Workshop on Network on Chip Architectures, NoCArc 2014
Country/TerritoryUnited Kingdom
CityCambridge
Period13/12/14 → …

Fingerprint

Dive into the research topics of 'Closed and open nested atomic actions for Java: Language design and prototype implementation'. Together they form a unique fingerprint.

Cite this