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 条
  • [31] Indirect distributed garbage collection: Handling object migration
    Piquer, JM
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1996, 18 (05): : 615 - 647
  • [32] On the Effects of Integrating Region-Based Memory Management and Generational Garbage Collection in ML
    Elsman, Martin
    Hallenberg, Niels
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2020), 2020, 12007 : 95 - 112
  • [33] The transactional memory/garbage collection analogy
    Grossman, Dan
    ACM SIGPLAN NOTICES, 2007, 42 (10) : 695 - 706
  • [34] Distributed Garbage Collection for General Graphs
    Brandt, Steven R.
    Krishnan, Hari
    Busch, Costas
    Sharma, Gokarna
    ACM SIGPLAN NOTICES, 2018, 53 (05) : 29 - 44
  • [35] A simple generational real-time garbage collection scheme
    Ali, KAM
    NEW GENERATION COMPUTING, 1998, 16 (02) : 201 - 221
  • [36] A simple generational real-time garbage collection scheme
    Khayri A. M. Ali
    New Generation Computing, 1998, 16 : 201 - 221
  • [37] Concurrent Garbage Collection in the Actor Model
    Plyukhin, Dan
    Agha, Gul
    AGERE'18: PROCEEDINGS OF THE 8TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON PROGRAMMING BASED ON ACTORS, AGENTS, AND DECENTRALIZED CONTROL, 2018, : 44 - 53
  • [38] A Java']Java garbage collection workload
    Lee, WH
    PROCEEDINGS OF THE 7TH JOINT CONFERENCE ON INFORMATION SCIENCES, 2003, : 561 - 566
  • [39] Distributed Garbage Collection for General Graphs
    Brandt, Steven R.
    Krishnan, Hari
    Busch, Costas
    Sharma, Gokarna
    PROCEEDINGS OF THE 2018 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT (ISMM'18), 2018, : 29 - 44
  • [40] LEMMA: A distributed shared memory with global and local garbage collection
    Matthews, DCJ
    LeSergent, T
    MEMORY MANAGEMENT, 1995, 986 : 297 - 311