Combining region inference and garbage collection

被引:22
|
作者
Hallenberg, N [1 ]
Elsman, M [1 ]
Tofte, M [1 ]
机构
[1] IT Univ Copenhagen, DK-2400 Copenhagen NV, Denmark
关键词
algorithms; languages; garbage collection; region inference; standard ML;
D O I
10.1145/543552.512547
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper describes a memory discipline that combines region-based memory management and copying garbage collection by extending Cheney's copying garbage collection algorithm to work with regions. The paper presents empirical evidence that region inference very significantly reduces the number of garbage collections: and evidence that the fastest execution is obtained by using regions alone. without garbage collection. The memory discipline is implemented for Standard in the ML Kit compiler and measurements show that for a variety of benchmark programs, code generated by the compiler is as efficient, both with respect to execution time and memory usage, as programs compiled with Standard ML of New Jersey, another state-of-the-art Standard compiler.
引用
收藏
页码:141 / 152
页数:12
相关论文
共 50 条
  • [21] GARBAGE COLLECTION ALTERNATIVES FOR ICON
    FERNANDEZ, MF
    HANSON, DR
    SOFTWARE-PRACTICE & EXPERIENCE, 1992, 22 (08) : 659 - 672
  • [22] Integrated Hardware Garbage Collection
    Garcia, Andres Amaya
    May, David
    Nutting, Ed
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2021, 20 (05)
  • [23] Garbage Collection for Edge Computing
    Garcia, Andres Amaya
    May, David
    Nutting, Ed
    2020 IEEE/ACM SYMPOSIUM ON EDGE COMPUTING (SEC 2020), 2020, : 319 - 319
  • [24] PITFALLS OF CONSERVATIVE GARBAGE COLLECTION
    WENTWORTH, EP
    SOFTWARE-PRACTICE & EXPERIENCE, 1990, 20 (07) : 719 - 727
  • [25] Finer Garbage Collection in LINDACAP
    Udzir, Nur Izura
    Ibrahim, Hamidah
    Demesie, Sileshi
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGY AND WEB ENGINEERING, 2010, 5 (03) : 1 - 26
  • [26] Garbage collection without paging
    Hertz, M
    Feng, Y
    Berger, ED
    ACM SIGPLAN NOTICES, 2005, 40 (06) : 143 - 153
  • [27] ATOMIC INCREMENTAL GARBAGE COLLECTION
    KOLODNER, EK
    WEIHL, WE
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 637 : 365 - 387
  • [28] Optimizing Garbage Collection System
    de Barros, Mateus Rodrigues
    Evangelista Matilde, Felipe Rodrigo
    Silva, Wilbert Carpi
    Castro Cesar, Cecilia de Azevedo
    2022 SYMPOSIUM ON INTERNET OF THINGS, SIOT, 2022,
  • [29] On measuring garbage collection responsiveness
    Printezis, Tony
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 62 (02) : 164 - 183
  • [30] Precise Garbage Collection for C
    Rafkind, Jon
    Wick, Adam
    Regehr, John
    Flatt, Matthew
    ISMM'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, 2009, : 39 - 48