发明名称 METHOD AND DEVICE FOR MANAGING LOCK OF OBJECT
摘要 PROBLEM TO BE SOLVED: To provide a new composite locking method not to lower the processing speed of a high frequency path. SOLUTION: When no thread to lock an object exists 1, zero is stored in both of a field for lock and a competitive bit. After that, the object is locked (light weight lock) by a certain thread, an identifier of the thread is stored in the field for lock 2. If no lock is attempted by other threads before the lock is released by the thread with the thread identifier, SPECIAL is stored in the field for lock 5 and the processing is returned to 1. When the lock is attempted by other threads before the lock is released, competition in the light weight lock is generated, therefore, the competitive bit is established to record the competition 3. After that, the competitive bit is cleared when the lock is transferred to heavy weight lock 4 and the processing of 4 is transferred to 1, if possible.
申请公布号 JP2001188685(A) 申请公布日期 2001.07.10
申请号 JP19990371730 申请日期 1999.12.27
申请人 INTERNATL BUSINESS MACH CORP <IBM> 发明人 ONODERA TAMIYA
分类号 G06F9/46;G06F9/52;(IPC1-7):G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址