Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND DEVICE FOR MANAGING LOCK OF OBJECT
Document Type and Number:
Japanese Patent JP3575593
Kind Code:
B2
Abstract:

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.


Inventors:
Tamiya Onodera
Application Number:
JP37173099A
Publication Date:
October 13, 2004
Filing Date:
December 27, 1999
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INTERNATIONAL BUSINESS MASCHINES CORPORATION
International Classes:
G06F9/46; G06F9/52; (IPC1-7): G06F9/46
Domestic Patent References:
JP200076086A
JP3288933A
JP5225149A
Other References:
WEAK LOCKS WITH TWO-LEVEL LOCKING MULTI-COMPUTER SYSTEM PROTOCOL TO REDUCE LOCK-HOLDING TIME,IBM Technical Disclosure Bulletin,IBM Corp.,1990年 4月,Vol. 33, No. 3B,pages 287-289,XP000124354
川辺義正,ロックやメモリー管理機構の見直しで性能向上,日経Linux,日経BP社,1999年 8月 8日,創刊前号,第111-121頁
Attorney, Agent or Firm:
Hiroshi Sakaguchi
Yoshihiro City