Executable assertions and separate compilation

被引:0
|
作者
Gough, KJ
Klaeren, H
机构
[1] Queensland Univ Technol, Brisbane, Qld 4001, Australia
[2] Univ Tubingen, D-72076 Tubingen, Germany
来源
关键词
executable assertions; separate compilation; value propagation; elimination of redundant checks;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of executable assertions is widely recognised as a useful programming technique for complex systems. In many cases static analysis of programs allows such assertions to be removed at compile time, thus removing the overhead of the test. The use of interprocedural analysis would often allow a larger number of such tests to be statically removed; intermodular analysis could even improve overall safety of the system. In general, however, such analysis is antithetical to separate compilation and extensible systems. In this paper we offer a partial solution to this dilemma: We propose that preconditions become part of the interface definition of an encapsulated object. The implementation consequences of this technique are explored.
引用
收藏
页码:41 / 52
页数:12
相关论文
共 50 条
  • [21] Efficient run-time assurance in distributed systems through selection of executable assertions
    Schollmeyer, M
    McMillin, B
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2000, 52 (01) : 33 - 54
  • [22] SEPARATE COMPILATION IN A MODULA-2 COMPILER
    FOSTER, DG
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1986, 16 (02): : 101 - 106
  • [23] Separate Compilation and Execution of Imperative Synchronous Modules
    Vecchie, Eric
    Talpin, Jean-Pierre
    Schneider, Luaus
    [J]. DATE: 2009 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2009, : 1580 - +
  • [24] Towards Certified Separate Compilation for Concurrent Programs
    Jiang, Hanru
    Liang, Hongjin
    Xiao, Siyang
    Zha, Junpeng
    Feng, Xinyu
    [J]. PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 111 - 125
  • [25] A formal framework for Java']Java separate compilation
    Ancona, D
    Lagorio, G
    Zucca, E
    [J]. ECOOP 2002 - OBJECT-ORIENTED PROGRAMMING, 2002, 2374 : 609 - 635
  • [26] A Compositional Semantics for Verified Separate Compilation and Linking
    Ramananandro, Tahina
    Shao, Zhong
    Weng, Shu-Chun
    Koenig, Jeremie
    Fu, Yuchen
    [J]. CPP'15: PROCEEDINGS OF THE 2015 ACM CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, 2015, : 3 - 14
  • [27] MECHANISM OF SEPARATE COMPILATION IN ADA PROGRAMMING SYSTEM
    GORBUNOV, AV
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1985, 11 (01) : 12 - 19
  • [28] Extending a partial evaluator which supports separate compilation
    Heldal, R
    Hughes, J
    [J]. THEORETICAL COMPUTER SCIENCE, 2000, 248 (1-2) : 99 - 145
  • [29] Application of Interface Theories to the Separate Compilation of Synchronous Programs
    Benveniste, Albert
    Caillaud, Benoit
    Raclet, Jean-Baptiste
    [J]. 2012 IEEE 51ST ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2012, : 7252 - 7258
  • [30] CRONOS: A separate compilation toolset for modular ESTEREL applications
    Hainque, O
    Pautet, L
    Le Biannic, Y
    Nassor, R
    [J]. FM'99-FORMAL METHODS, VOL II, 1999, 1709 : 1836 - 1853