A constraint-based region inference algorithm

被引:9
|
作者
Birkedal, L
Tofte, M
机构
[1] Carnegie Mellon Univ, Sch Comp Sci, Pittsburgh, PA 15213 USA
[2] DIKU, DK-2100 Copenhagen, Denmark
基金
美国国家科学基金会;
关键词
dynamic storage management; regions; standard ML;
D O I
10.1016/S0304-3975(00)00025-6
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Region inference is a type-based technique for determining run time memory management at compile time, It is targeted at a runtime model in which the store consists of a stack of regions and memory management predominantly consists of pushing and popping regions. Region inference has previously been specified by a set of inference rules, which formalize when regions may be allocated and deallocated, We present a constraint-based algorithm which implements the specification It consists of a constraint-based formulation of region inference and a rewriting algorithm for solving a set of constraints, We prove that the constraint-based formulation of region inference is sound with respect to the region inference rules, Moreover we prove "restricted completeness" of the constraint-based formulation, that is, we define an "implementation-oriented" formulation of region inference and show that every derivation in the implementation-oriented formulation can be obtained by a solution to a corresponding constraint problem, We show that rewriting of a constraint problem always terminates with a solution to the original system, (C) 2001 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:299 / 392
页数:94
相关论文
共 50 条
  • [1] Constraint-based inference: A bridge between constraint processing and probability inference
    Chang, L
    Mackworth, AK
    [J]. PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP 2005, PROCEEDINGS, 2005, 3709 : 844 - 844
  • [2] A toolkit for constraint-based inference engines
    Chew, TY
    Henz, M
    Ng, KB
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2000, 1753 : 185 - 199
  • [3] A CONSTRAINT-BASED FUZZY INFERENCE SYSTEM
    LANO, K
    [J]. LECTURE NOTES IN ARTIFICIAL INTELLIGENCE, 1991, 541 : 45 - 59
  • [4] Constraint-Based Type Inference for FreezeML
    Emrich, Frank
    Stolarek, Jan
    Cheney, James
    Lindley, Sam
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2022, 6 (ICFP):
  • [5] Constraint-Based Inference in Probabilistic Logic Programs
    Nampally, Arun
    Zhang, Timothy
    Ramakrishnan, C. R.
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2018, 18 (3-4) : 638 - 655
  • [6] A constraint-based algorithm for engineering design
    Lamounier, E
    [J]. SIBGRAPI '98 - INTERNATIONAL SYMPOSIUM ON COMPUTER GRAPHICS, IMAGE PROCESSING, AND VISION, PROCEEDINGS, 1998, : 102 - 109
  • [7] A constraint-based inference system for satisfying design constraints
    Cha, JP
    Lee, IH
    Kim, JJ
    [J]. KSME INTERNATIONAL JOURNAL, 2000, 14 (06): : 655 - 665
  • [8] A constraint-based inference system for satisfying design constraints
    Joo-Heon Cha
    In-Ho Lee
    Jay-Jung Kim
    [J]. KSME International Journal, 2000, 14 : 655 - 665
  • [9] Constraint-Based Invariant Inference over Predicate Abstraction
    Gulwani, Sumit
    Srivastava, Saurabh
    Venkatesan, Ramarathnarn
    [J]. VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, 2009, 5403 : 120 - +
  • [10] A constraint-based genetic algorithm for concurrent engineering
    Cormier, D
    O'Grady, P
    Sanii, E
    [J]. INTERNATIONAL JOURNAL OF PRODUCTION RESEARCH, 1998, 36 (06) : 1679 - 1697