发明名称 System and Method for Tracking References to Shared Objects Using Byte-Addressable Per-Thread Reference Counters
摘要 The system described herein may track references to a shared object by concurrently executing threads using a reference tracking data structure that includes an owner field and an array of byte-addressable per-thread entries, each including a per-thread reference counter and a per-thread counter lock. Slotted threads assigned to a given array entry may increment or decrement the per-thread reference counter in that entry in response to referencing or dereferencing the shared object. Unslotted threads may increment or decrement a shared unslotted reference counter. A thread may update the data structure and/or examine it to determine whether the number of references to the shared object is zero or non-zero using a blocking-optimistic or a non-blocking mechanism. A checking thread may acquire ownership of the data structure, obtain an instantaneous snapshot of all counters, and return a value indicating whether the number of references to the shared object is zero or non-zero.
申请公布号 US2011246727(A1) 申请公布日期 2011.10.06
申请号 US20100750455 申请日期 2010.03.30
申请人 DICE DAVID;SHAVIT NIR N 发明人 DICE DAVID;SHAVIT NIR N.
分类号 G06F12/02;G06F12/06 主分类号 G06F12/02
代理机构 代理人
主权项
地址