arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Programming Structures

1 paper · 2008–2008

2008: 1
2008peak 1 in 20082008

Papers

showing 1–1 of 1 RSS

Strong Atomicity for Java Without Virtual-Machine Support

Programming Structures

Sociology and Political Science · · cited 0× · OpenAlex ↗ · more like this ·

We present an implementation and evaluation of atomicity (also known as software transactions) for a dialect of Java. Our implementation is fundamentally different from prior work in three respects: (1) It is entirely a source-tosource transformation, producing Java source code that can be compiled by any Java compiler and run on any Java Virtual Machine. (2) It can enforce “strong ” atomicity without assuming special hardware or a uniprocessor. (3) The implementation uses locks rather than software-transactionalmemory, but it cannot deadlock and requires inter-thread communication only when there is data contention. We evaluate our approach by qualitatively considering its overhead, quantitatively measuring the performance impact on benchmarks, and considering several difficult interactions with other language features. We conclude that it is possible to support “strong ” atomicity and…