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 条
  • [1] Garbage collection safety for region-based memory management
    Elsman, M
    ACM SIGPLAN NOTICES, 2003, 38 (03) : 123 - 134
  • [2] Garbage-Collection Safety for Region-Based Type-Polymorphic Programs
    Elsman, Martin
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (PLDI):
  • [3] Accurate garbage collection in an uncooperative environment
    Henderson, F
    ACM SIGPLAN NOTICES, 2003, 38 (02) : 256 - 262
  • [4] Mostly concurrent garbage collection revisited
    Barabash, K
    Ossia, Y
    Petrank, E
    ACM SIGPLAN NOTICES, 2003, 38 (11) : 255 - 268
  • [5] Idle Time Garbage Collection Scheduling
    Degenbaev, Ulan
    Eisinger, Jochen
    Ernst, Manfred
    McIlroy, Ross
    Payer, Hannes
    ACM SIGPLAN NOTICES, 2016, 51 (06) : 570 - 583
  • [6] Using passive object garbage collection algorithms for garbage collection of active objects
    Vardhan, A
    Agha, G
    ACM SIGPLAN NOTICES, 2003, 38 (02) : 213 - 220
  • [7] Concurrent, Parallel Garbage Collection in Linear Time
    Brandt, Steven R.
    Krishnan, Hari
    Sharma, Gokarna
    Busch, Costas
    ACM SIGPLAN NOTICES, 2014, 49 (11) : 47 - 58
  • [8] A typed interface for garbage collection
    Vanderwaart, JC
    Crary, K
    ACM SIGPLAN NOTICES, 2003, 38 (03) : 109 - 122
  • [9] Markovian Queue with Garbage Collection
    Horvath, Illes
    Finta, Istvan
    Kovacs, Ferenc
    Meszaros, Andras
    Molontay, Roland
    Varga, Krisztian
    ANALYTICAL AND STOCHASTIC MODELLING TECHNIQUES AND APPLICATIONS, ASMTA 2017, 2017, 10378 : 109 - 124
  • [10] Exploring Garbage Collection with Haswell Hardware Transactional Memory
    Ritson, Carl G.
    Ugawa, Tomoharu
    Jones, Richard E.
    ACM SIGPLAN NOTICES, 2014, 49 (11) : 105 - 115