A Reference-Counting Garbage Collection Algorithm for Cyclical Functional Programming

被引:0
|
作者
Trancon y Widemann, Baltasar [1 ]
机构
[1] Univ Bayreuth, D-95440 Bayreuth, Germany
来源
ISMM'08: PROCEEDINGS OF THE 2008 INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT | 2008年
关键词
memory management; garbage collection; reference counting; cycles; functional programming;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Reference-counting garbage collection is known to have problems with the collection of cyclically connected data. There are two historically significant styles of cycle-aware algorithms: The style of Brownbridge that maintains a subset of marked edges and the invariant that every cycle contains at least one marked edge, and the style of Martinez-Lins-Wachenchauzer (MLW) that involves local mark-and-scan procedures to detect cycles. The former is known to be difficult to design and implement correctly, and the latter to have pathological efficiency for a number of very typical Situations. We present a novel algorithm that combines both approaches to obtain reasonably efficient local mark-and-scan phases with a marking invariant that is rather cheap to maintain. We demonstrate that the assumptions of this algorithm about mutator activity patterns make it well-suited, but not limited, to a functional programming technique for cyclic data. We evaluate the approach in comparison with simple and more sophisticated MLW algorithms using a simple benchmark based oil that functional paradigm.
引用
收藏
页码:71 / 80
页数:10
相关论文
共 42 条
  • [31] Class-Based Garbage Collection in Object-Oriented Programming Environments
    张武生
    黄启峰
    沈美明
    郑纬民
    TsinghuaScienceandTechnology, 2003, (06) : 658 - 666
  • [32] Active Garbage Collection Algorithm for Sender-based Message Logging
    Ahn, Jinho
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2006, 6 (1A): : 38 - 43
  • [33] Score Based Garbage Collection Algorithm for Flash Based Storage System
    Shweta
    Singh, P. K.
    INTERNATIONAL JOURNAL OF NEXT-GENERATION COMPUTING, 2022, 13 (03): : 320 - 333
  • [34] Distributed Garbage Collection Using Client Server Approach in Train Algorithm
    Kapadia, Viral V.
    Thakore, Darshak G.
    2009 IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE, VOLS 1-3, 2009, : 492 - 495
  • [35] On-Demand Garbage Collection Algorithm with Prioritized Victim Blocks for SSDs
    Lee, Hyeyun
    Choi, Wooseok
    Hong, Youpyo
    ELECTRONICS, 2023, 12 (09)
  • [36] Mark-Sharing: A Parallel Garbage Collection Algorithm for Low Synchronization Overhead
    Park, Hyunkyu
    Lee, Changmin
    Kim, Seung Hun
    Ro, Won Woo
    Gaudiot, Jean-Luc
    2013 19TH IEEE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS 2013), 2013, : 18 - 25
  • [37] On the Endurance of the d-Choices Garbage Collection Algorithm for Flash-Based SSDs
    Verschoren, Robin
    Van Houdt, Benny
    ACM TRANSACTIONS ON MODELING AND PERFORMANCE EVALUATION OF COMPUTING SYSTEMS, 2019, 4 (03)
  • [38] Research on Algorithm of Parallel Garbage Collection Based on LISP 2 for Multi-core System
    Zhang, Congpin
    Wu, Changmao
    Zhao, Lili
    ADVANCED INTELLIGENT COMPUTING THEORIES AND APPLICATIONS, 2010, 93 : 469 - 476
  • [39] Swap-aware Garbage Collection Algorithm for NAND Flash-based Consumer Electronics
    Xu, Guangxia
    Wang, Manman
    Liu, Yanbing
    IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2014, 60 (01) : 60 - 65
  • [40] An Efficient and Non-Time-Sensitive File-Aware Garbage Collection Algorithm for NAND Flash-Based Consumer Electronics
    Yan, Hua
    Huang, Yong
    Zhou, Xinzhi
    Lei, Yinjie
    IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2019, 65 (01) : 73 - 79