Pattern-based circular reference detection in Python

Science of Computer Programming(2023)

引用 0|浏览64
暂无评分
摘要
Circular references keep objects in loops from being released even if they are no longer reachable. Programming languages provide various garbage collection strategies for reclaiming unused objects at runtime. For example, CPython is equipped with a tracing collector as a complement to the count-based collector to recycle circular garbage. However, runtime detection inevitably entails resource consumption. The overhead of circular reference detection can be reduced if the introduction of circular references can be avoided, or if the presence of circular references in code can be detected before the code is run.
更多
查看译文
关键词
Circular references,Python,Pattern-based,Memory leak
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要