On the Effects of Integrating Region-Based Memory Management and Generational Garbage Collection in ML

被引:7
|
作者
Elsman, Martin [1 ]
Hallenberg, Niels [2 ]
机构
[1] Univ Copenhagen, Copenhagen, Denmark
[2] SimCorp AS, Copenhagen, Denmark
关键词
Region inference; Generational garbage collection;
D O I
10.1007/978-3-030-39197-3_7
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a region-based memory management scheme with support for generational garbage collection. The scheme is implemented in the MLKit Standard ML compiler, which features a compile-time region inference algorithm. The compiler generates native x64 machine code and deploys region types at runtime to avoid write barrier problems and to support partly tag-free garbage collection. We measure the characteristics of the scheme, for a number of benchmarks, and compare it to the Mlton state-of-the-art Standard ML compiler and configurations of the MLKit with and without region inference and generational garbage collection enabled. Although region inference often serves the purpose of generations, we demonstrate that, in some cases, generational garbage collection combined with region inference is beneficial.
引用
收藏
页码:95 / 112
页数:18
相关论文
共 50 条
  • [31] RSVM: a Region-based Software Virtual Memory for GPU
    Ji, Feng
    Lin, Heshan
    Ma, Xiaosong
    [J]. 2013 22ND INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT), 2013, : 269 - 278
  • [32] Ownership types for safe region-based memory management in real-time Java']Java
    Boyapati, C
    Salcianu, A
    Beebee, W
    Rinard, M
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (05) : 324 - 337
  • [33] BETTER STATIC MEMORY MANAGEMENT - IMPROVING REGION-BASED ANALYSIS OF HIGHER-ORDER LANGUAGES
    AIKEN, A
    FAHNDRICH, M
    LEVIEN, R
    [J]. SIGPLAN NOTICES, 1995, 30 (06): : 174 - 185
  • [34] FeGC: An efficient garbage collection scheme for flash memory based storage systems
    Kwon, Ohhoon
    Koh, Kern
    Lee, Jaewoo
    Bahn, Hyokyung
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (09) : 1507 - 1523
  • [35] Adaptive region-based location management for PCS systems
    Lo, SC
    Chen, ALP
    [J]. IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2002, 51 (04) : 667 - 676
  • [36] WasNet: A Neural Network-Based Garbage Collection Management System
    Yang, Zhihu
    Li, Dan
    [J]. IEEE ACCESS, 2020, 8 : 103984 - 103993
  • [37] Region-based Memory Management for GPU Programming Languages Enabling Rich Data Structures on a Spartan Host
    Holk, Eric
    Newton, Ryan
    Siek, Jeremy
    Lumsdaine, Andrew
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (10) : 141 - 155
  • [38] Reversible Object-Oriented Programming with Region-Based Memory Management Work-in-progress Report
    Schultz, Ulrik Pagh
    [J]. REVERSIBLE COMPUTATION, RC 2018, 2018, 11106 : 322 - 328
  • [39] Region-based parallelization of irregular reductions on explicitly managed memory hierarchies
    Seonggun Kim
    Hwansoo Han
    Kwang-Moo Choe
    [J]. The Journal of Supercomputing, 2011, 56 : 25 - 55
  • [40] A Progressive Garbage Collection Scheme Based on Hotness of Valid Pages for NAND Flash Memory
    Li, Mingyang
    Zeng, Yonghong
    [J]. PROCEEDINGS OF THE 2017 INTERNATIONAL CONFERENCE ON ELECTRONIC INDUSTRY AND AUTOMATION (EIA 2017), 2017, 145 : 212 - 217