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 条
  • [21] Constraint-based Playlist Generation by Applying Genetic Algorithm
    Hsu, Jia-Lien
    Chung, Shuk-Chun
    2011 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2011, : 1417 - 1422
  • [22] Constraint-based genetic algorithm for earthmoving fleet selection
    Marzouk, M
    Moselhi, O
    CANADIAN JOURNAL OF CIVIL ENGINEERING, 2003, 30 (04) : 673 - 683
  • [23] Constraint-based algorithm to estimate the line of a milling edge
    Marcin Bator
    Katarzyna Smietanska
    Machine Graphics and Vision, 2019, 28 (1-4): : 59 - 67
  • [24] Combined Density-based and Constraint-based Algorithm for Clustering
    陈同孝
    陈荣昌
    林志强
    邱永兴
    Journal of Donghua University(English Edition), 2006, (06) : 36 - 38
  • [25] Labeling of human motion by constraint-based genetic algorithm
    Hu, Fu Yuan
    Wong, Hau San
    Liu, Zhi Qiang
    Qu, Hui Yang
    2006 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY, PTS 1 AND 2, PROCEEDINGS, 2006, : 191 - 196
  • [26] A constraint-based algorithm for planning the substitution of faulty parts
    Márquez, A
    Del Valle, C
    Gasca, RM
    Toro, M
    PLANNING, SCHEDULING AND CONSTRAINT SATISFACTION: FROM THEORY TO PRACTICE, 2005, 117 : 79 - 88
  • [27] A fuzzy constraint-based routing algorithm for traffic engineering
    Khan, JA
    Alnuweiri, HM
    GLOBECOM '04: IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, VOLS 1-6, 2004, : 1366 - 1372
  • [28] SnR: Constraint-Based Type Inference for Incomplete Java Code Snippets
    Dong, Yiwen
    Gu, Tianxiao
    Tian, Yongqiang
    Sun, Chengnian
    Proceedings - International Conference on Software Engineering, 2022, 2022-May : 1982 - 1993
  • [29] JOIN(X):: Constraint-based type inference for the join-calculus
    Conchon, S
    Pottier, F
    PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2001, 2028 : 221 - 236
  • [30] Assessment of transcriptomic constraint-based methods for central carbon flux inference
    Bhadra-Lobo, Siddharth
    Kim, Min Kyung
    Lun, Desmond S.
    PLOS ONE, 2020, 15 (09):