发明名称 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.
申请公布号 US8677076(B2) 申请公布日期 2014.03.18
申请号 US20100750455 申请日期 2010.03.30
申请人 DICE DAVID;SHAVIT NIR N.;ORACLE INTERNATIONAL CORPORATION 发明人 DICE DAVID;SHAVIT NIR N.
分类号 G06F12/00;G06F13/00;G06F13/28 主分类号 G06F12/00
代理机构 代理人
主权项
地址