arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.23768cs.PLcs.DC
收藏

虚拟垃圾收集器(VGC):一种面向Python并行运行时的基于区域的垃圾收集架构

Virtual Garbage Collector (VGC): A Zone-Based Garbage Collection Architecture for Python's Parallel Runtime

Abdulla M

AI总结:

VGC通过基于区域的内存管理和分区执行,提高Python运行时的可预测性和可扩展性。

摘要:

虚拟垃圾收集器(VGC)提出了一种基于区域的内存管理架构,旨在提高Python运行时的执行可预测性和内存行为。设计探索了双层模型,包括负责管理运行时对象生命周期的主动VGC,以及作为编译时优化层用于静态分配规划的被动VGC。不同于传统堆遍历或代数启发式方法,VGC引入了内存区域和基于检查点的状态评估,以减少分配 churn 并限制垃圾收集范围。执行分区通过实验评估来隔离工作负载并局部化内存压力,从而在循环密集型、递归和计算密集型工作负载下实现更确定性行为。本文在分区感知运行时上下文中展示了VGC的架构原理、执行模型和实验观察。虽然双层设计的完整实现仍是一个持续努力,但结果表明,基于区域的分配和分区执行为提高面向Python系统的可扩展性和内存可预测性提供了可行的基础。

英文摘要:

The Virtual Garbage Collector (VGC) proposes a zone-based memory management architecture aimed at improving execution predictability and memory behavior in Python runtimes. The design explores a dual-layer model consisting of an Active VGC, responsible for managing runtime object lifecycles, and a Passive VGC, intended as a compile-time optimization layer for static allocation planning. Rather than relying on traditional heap traversal or generational heuristics, VGC introduces memory zoning and checkpoint-based state evaluation to reduce allocation churn and constrain garbage collection scope. Execution partitioning is experimentally evaluated to isolate workloads and localize memory pressure, enabling more deterministic behavior under loop-intensive, recursive, and compute-heavy workloads. This work presents the architectural principles, execution model, and experimental observations of VGC within a partition-aware runtime context. While the full realization of the dual-layer design is an ongoing effort, the results indicate that zone-based allocation and partitioned execution provide a viable foundation for improving scalability and memory predictability in Python-oriented systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑