发明名称 Memory tracking with preservation of alignment semantics
摘要 A method and system for tracking usage of memory in a computer system is provided. Arguments for both the size of a memory allocation and the type of memory being allocated are reserved in a fixed location. A first fixed location is reserved for small memory allocations, i.e. less than one page, and a second fixed location is reserved for large memory allocations, i.e. one page or larger. The fixed location is selected based upon a determination of the size of an allocation required by a calling application. Upon receipt of a memory allocation request by the calling application, a pointer is returned to the calling application identifying the fixed location. Similarly, upon release of memory by the calling application, a counter is decremented to track the amount of memory in use by the application.
申请公布号 US7475216(B2) 申请公布日期 2009.01.06
申请号 US20070780169 申请日期 2007.07.19
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 AHLUWALIA VIKAS;PIPER SCOTT A.
分类号 G06F12/00;G06F12/02;G06F12/08 主分类号 G06F12/00
代理机构 代理人
主权项
地址