MappedTrace:利用编译器生成的映射远程追踪指针
MappedTrace: Tracing Pointer Remotely with Compiler-generated Maps
AI总结:
MappedTrace利用编译器生成的只读映射远程精确识别程序快照中的指针,降低运行时开销,并支持内存泄漏检测与无限内存抽象等新应用。
摘要:
现有的精确指针追踪方法会给被追踪程序带来显著的运行时开销,并且仅适用于特定的程序执行点。我们提出了MappedTrace,它利用编译器生成的只读映射,在程序执行状态的任意给定快照中准确识别所有指针。这些映射记录了指针的位置和类型,使追踪器能够精确识别指针,而无需被追踪程序维护簿记数据结构或在安全点轮询,从而降低运行时开销。通过从不同的地址空间或机器运行追踪器,MappedTrace为改进内存管理技术(如内存泄漏检测)提供了新机会,并实现了新颖的用例,例如为资源受限环境提供无限内存抽象。
英文摘要:
Existing precise pointer tracing methods introduce substantial runtime overhead to the program being traced and are applicable only at specific program execution points. We propose MappedTrace that leverages compiler-generated read-only maps to accurately identify all pointers in any given snapshot of a program's execution state. The maps record the locations and types of pointers, allowing the tracer to precisely identify pointers without requiring the traced program to maintain bookkeeping data structures or poll at safe points, thereby reducing runtime overhead. By running the tracer from a different address space or machine, MappedTrace presents new opportunities to improve memory management techniques like memory leak detection and enables novel use cases such as infinite memory abstraction for resource-constrained environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。