发明名称 Object locks
摘要 A single lock word comprises an identifier field for storing a thread identifier associated with a first thread obtaining a lock on an object; an inflation field for storing a fat lock bit upon inflation of the lock on the object; and a contention field for storing a contention bit in response to an attempt by a second thread to obtain a lock on the object. The values of the single lock word are verified with a single memory fetch instruction. When unlocking an object, a single memory fetch instruction can be used to read the lock word to: (1) determine whether thread T is still the current owner of the lock, and (2) determine the states of inflation and/or contention (i.e., determine whether the fat lock and/or contention bits have been set).
申请公布号 US2006015700(A1) 申请公布日期 2006.01.19
申请号 US20040890751 申请日期 2004.07.14
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BURKA PETER W.
分类号 G06F12/14 主分类号 G06F12/14
代理机构 代理人
主权项
地址