计算机科学 > 程序设计语言
[提交于 2025年6月20日]
标题:Low Overhead Allocation Sampling in a Garbage Collected Virtual Machine
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Compared to the more commonly used time-based profiling, allocation profiling provides an alternate view of the execution of allocation heavy dynamically typed languages. However, profiling every single allocation in a program is very inefficient. We present a sampling allocation profiler that is deeply integrated into the garbage collector of PyPy, a Python virtual machine. This integration ensures tunable low overhead for the allocation profiler, which we measure and quantify. Enabling allocation sampling profiling with a sampling period of 4 MB leads to a maximum time overhead of 25% in our benchmarks, over un-profiled regular execution.
提交历史
来自:C.F. Bolz-Tereick[v1] 2025年6月20日 星期五 10:11:03 UTC