发明名称 MEMORY RECLAMATION ON A COMPUTING DEVICE
摘要 Various embodiments include methods for reclaiming memory in a computing device that may include storing a first pointer pointing to a first memory location storing the beginning of a data structure in which a plurality of threads executing on the computing device may concurrently access the data structure and storing a second pointer pointing to the current beginning of the data structure. In response to performing an operation on the data structure that changes the location of the beginning of the data structure from the first memory location to a second memory location, the second pointer may be updated to point to the second memory location. In response to determining that memory allocated to the data structure may be reclaimed, memory allocated to the data structure, including memory located at the first memory location pointed to by the first pointer, may be reclaimed.
申请公布号 US2016267005(A1) 申请公布日期 2016.09.15
申请号 US201514824142 申请日期 2015.08.12
申请人 QUALCOMM Incorporated 发明人 Natarajan Aravind;Cascaval Gheorghe Calin
分类号 G06F12/02;G06F3/06 主分类号 G06F12/02
代理机构 代理人
主权项 1. A method for reclaiming memory in a computing device, comprising: storing, on the computing device, a first pointer pointing to a first memory location storing the beginning of a data structure, wherein a plurality of threads executing on the computing device may concurrently access the data structure; storing, on the computing device, a second pointer; performing an operation on the data structure, wherein the operation changes a location of the beginning of the data structure from the first memory location to a second memory location; updating the second pointer to point to the second memory location; determining whether memory allocated to the data structure may be reclaimed; and reclaiming memory allocated to the data structure, including memory located at the first memory location pointed to by the first pointer, in response to determining that memory allocated to the data structure may be reclaimed.
地址 San Diego CA US
您可能感兴趣的专利