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 条
  • [31] A Mixed Noise and Constraint-Based Approach to Causal Inference in Time Series
    Assaad, Karim
    Devijver, Emilie
    Gaussier, Eric
    Ait-Bachir, Ali
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, 2021, 12975 : 453 - 468
  • [32] Constraint-based agents
    Nareyek, A
    CONSTRAINT-BASED AGENTS: AN ARCHITECTURE FOR CONSTRAINT-BASED MODELING AND LOCAL-SEARCH-BASED REASONING FOR PLANNING AND SCHEDULING IN OPEN AND DYNAMIC WORLDS, 2001, 2062 : 1 - +
  • [33] CONSTRAINT-BASED REASONING
    KASIF, S
    IEEE EXPERT-INTELLIGENT SYSTEMS & THEIR APPLICATIONS, 1991, 6 (06): : 55 - 55
  • [34] Constraint-Based Metrics
    Chris Golston
    Natural Language & Linguistic Theory, 1998, 16 : 719 - 770
  • [35] Green virtual topology design algorithm based on constraint-based routing
    Wu, Yuan-Sheng
    Guo, Bing
    Shen, Yan
    Wang, Ji-He
    Liu, Xiao-Bin
    Tongxin Xuebao/Journal on Communications, 2014, 35 (04): : 112 - 123
  • [36] An Active Learning Algorithm Based on Shannon Entropy for Constraint-Based Clustering
    Chen, Duo Wen
    Jin, Ying Hua
    IEEE ACCESS, 2020, 8 : 171447 - 171456
  • [37] Constraint-based reachability
    Gotlieb, Arnaud
    Denmat, Tristan
    Lazaar, Nadjib
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (107): : 25 - 43
  • [38] Constraint-based metrics
    Golston, C
    NATURAL LANGUAGE & LINGUISTIC THEORY, 1998, 16 (04) : 719 - 770
  • [39] Constraint-based scheduling
    Fromherz, MPJ
    PROCEEDINGS OF THE 2001 AMERICAN CONTROL CONFERENCE, VOLS 1-6, 2001, : 3231 - 3244
  • [40] CONSTRAINT-BASED MODELING
    MUNDY, JL
    VROBEL, P
    JOYNSON, R
    IMAGE UNDERSTANDING WORKSHOP /, 1989, : 425 - 442