首页>
外国专利>
Method and system for self-optimizing path-based object allocation tracking
Method and system for self-optimizing path-based object allocation tracking
展开▼
机译:自优化基于路径的对象分配跟踪的方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
A system and method for the efficient monitoring of memory allocations performed during the executing code is presented. The proposed approach analyzes the code to build a control flow graph that describes all possible execution sequences of the code. Individual execution paths are identified by an analysis of the control path and memory allocation counters representing the memory allocations of each execution path are placed in the code. The memory allocation counters provide next to data describing memory allocations also execution frequency data of execution paths. The execution frequency data is used to identify the path with the highest execution frequency. The position of the memory allocation counters is further adapted with the optimization goal that the path with the highest execution frequency triggers the least number of memory allocation counter increments.
展开▼