USING LARCH TO SPECIFY AVALON/C++ OBJECTS

被引:3
|
作者
WING, JM
机构
[1] School of Computer Science, Carnegie Mellon University, Pittsburgh
基金
美国国家科学基金会;
关键词
Atomicity; Avalon; C++; distributed systems; faulttolerance; formal methods; Larch; object-oriented programming; specification; transactions;
D O I
10.1109/32.58791
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper gives a formal specification of three base Avalon/C++ classes; recoverable, atomic, and subatomic. Programmers derive from class recoverable to define persistent objects, and from either class atomic or class subatomic to define atomic objects. The specifications, written in Larch, provide the means for showing that classes derived from the base classes implement objects that are persistent or atomic, and thus exemplify the applicability of an existing specification method to specifying “nonfunctional” properties. Writing these formal specifications for Avalon/C++ ’s built-in classes has helped to clarify places in the programming language where features interact, to make unstated assumptions explicit, and to characterize complex properties of objects. © 1990 IEEE
引用
收藏
页码:1076 / 1088
页数:13
相关论文
共 50 条
  • [1] SPECIFYING AVALON OBJECTS IN LARCH
    WING, JM
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1989, 352 : 61 - 80
  • [2] A QUICK OVERVIEW OF LARCH/C++
    CHEON, Y
    LEAVENS, GT
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1994, 7 (06): : 39 - 49
  • [3] INHERITANCE OF SYNCHRONIZATION AND RECOVERY PROPERTIES IN AVALON/C++
    DETLEFS, DL
    HERLIHY, MP
    WING, JM
    [J]. COMPUTER, 1988, 21 (12) : 57 - 69
  • [4] INHERITANCE OF SYNCHRONIZATION AND RECOVERY - PROPERTIES IN AVALON/C++
    DETLEFS, D
    HERLIHY, M
    WING, J
    [J]. PROCEEDINGS OF THE TWENTY-FIRST, ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOLS 1-4: ARCHITECTURE TRACK, SOFTWARE TRACK, DECISION SUPPORT AND KNOWLEDGE BASED SYSTEMS TRACK, APPLICATIONS TRACK, 1988, : B416 - B423
  • [5] PERSISTENT OBJECTS IN C++
    STEVENS, A
    [J]. DR DOBBS JOURNAL, 1992, 17 (12): : 34 - &
  • [6] C++ FILE OBJECTS
    WEEKS, K
    [J]. DR DOBBS JOURNAL, 1990, : 50 - &
  • [7] Distributing C++ objects
    ElKadi, A
    Ramadan, H
    ElZahhar, H
    Gamaleldin, S
    Madkour, T
    [J]. PARALLEL AND DISTRIBUTED COMPUTING SYSTEMS - PROCEEDINGS OF THE ISCA 9TH INTERNATIONAL CONFERENCE, VOLS I AND II, 1996, : 696 - 700
  • [8] C++ OBJECTS THAT CHANGE THEIR TYPES
    DAVIS, SR
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1992, 5 (04): : 27 - 32
  • [9] ALLOCATING C++ OBJECTS IN CLUSTERS
    KOENIG, A
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1993, 6 (03): : 55 - 57
  • [10] USING VDM TO SPECIFY OSI MANAGED OBJECTS
    SIMON, L
    MARSHALL, LS
    [J]. IFIP TRANSACTIONS C-COMMUNICATION SYSTEMS, 1992, 2 : 17 - 31