A formal semantics for finalizers

被引:0
|
作者
Leal, MA [1 ]
Ierusalimschy, R [1 ]
机构
[1] Pontificia Univ Catolica Rio de Janeiro, Rio de Janeiro, Brazil
关键词
memory management; garbage collection; finalization; semantics;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Automatic finalization is a common but inherently complex language facility that makes the garbage collection process semantically visible to client programs. With finalizers, memory management becomes more flexible, and garbage collectors can be used to recycle other resources in addition to memory. Formal language models usually ignore garbage collection, and therefore are unable to properly describe finalization. In this paper we use an operational approach to develop a new abstract model that explicitly represents memory management actions in a garbage-collected programming language based on the lambda-calculus. We formally state and prove several important properties related to memory management, and employ the model to describe and explore a semantics for finalizers.
引用
收藏
页码:1198 / 1214
页数:17
相关论文
共 50 条
  • [1] What is formal in formal semantics?
    Wolenski, J
    [J]. DIALECTICA, 2004, 58 (03) : 427 - 436
  • [2] Formal Semantics and Ontologies Towards an Ontological Account of Formal Semantics
    Loebe, Frank
    Herre, Heinrich
    [J]. FORMAL ONTOLOGY IN INFORMATION SYSTEMS, 2008, 183 : 49 - +
  • [3] A formal semantics for SPKI
    Howell, J
    Kotz, D
    [J]. COMPUTER SECURITY - ESORICS 2000, PROCEEDINGS, 2000, 1895 : 140 - 158
  • [4] ON SEMANTICS OF FORMAL REPRESENTATION
    DREHER, JH
    [J]. PHILOSOPHIA, 1978, 8 (01) : 71 - 78
  • [5] FORMAL SEMANTICS AND LEXICON
    SANDRI, G
    [J]. LINGUA E STILE, 1984, 19 (01) : 73 - 100
  • [6] Distributional formal semantics
    Venhuizen, Noortje J.
    Hendriks, Petra
    Crocker, Matthew W.
    Brouwer, Harm
    [J]. INFORMATION AND COMPUTATION, 2022, 287
  • [7] A FORMAL SEMANTICS FOR SQL
    MEIRA, S
    MOTZ, R
    TEPEDINO, F
    [J]. INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 1990, 34 (1-2) : 43 - 63
  • [8] REALISM AND FORMAL SEMANTICS
    PEARCE, D
    RANTALA, V
    [J]. SYNTHESE, 1982, 52 (01) : 39 - 53
  • [9] Formal semantics and ontology
    Kusliy, P. S.
    [J]. EPISTEMOLOGY & PHILOSOPHY OF SCIENCE-EPISTEMOLOGIYA I FILOSOFIYA NAUKI, 2012, 33 (03): : 62 - 67
  • [10] Elements of Formal Semantics
    Keenan, Edward L.
    [J]. JOURNAL OF LOGIC LANGUAGE AND INFORMATION, 2018, 27 (02) : 175 - 192