Toggle Main Menu Toggle Search

Open Access padlockePrints

Using Metaobject Protocols to Implement Atomic Data Types

Lookup NU author(s): Dr Robert Stroud


Full text for this publication is not currently held within this repository. Alternative links are provided below where available.


Many researchers have suggested using atomic data types to implement transactions as a way of achieving atomicity in a modular, encapsulated fashion. However, in practice, implementing user-defined atomic data types is a difficult task. Existing systems fail to make a clean separation between application code and the synchronisation/recovery code needed to guarantee atomicity, and thus make it very hard for programmers to make changes to a system to meet their particular needs. In this paper, we present a metaobject protocol approach to implementing atomic data types. With this approach, application code is implemented at the base level, whilst the synchronisation and recovery code necessary to ensure atomicity is implemented at the meta level in the form of metaobjects. New schemes for ensuring atomicity can be provided for particular applications by introducing new metaobjects into the system without a need to make any changes at the base level. Furthermore, it is possible for an atomic data object to adapt its mechanism for ensuring atomicity dynamically by changing its metaobject at run time.

Publication metadata

Author(s): Stroud RJ, Wu Z

Editor(s): Olthoff, W.G.

Publication type: Conference Proceedings (inc. Abstract)

Publication status: Published

Conference Name: 9th European Conference on Object-Oriented Programming (ECOOP)

Year of Conference: 1995

Pages: 168-189

ISSN: 0302-9743 (Print) 1611-3349 (Online)

Publisher: Springer-Verlag


DOI: 10.1007/3-540-49538-X_9

Library holdings: Search Newcastle University Library for this item

Series Title: Lecture Notes in Computer Science

ISBN: 9783540601609