发明名称 Method and apparatus for concurrent thread synchronization
摘要 Methods and apparatus for locking and unlocking objects using synchronized threads are disclosed. According to one aspect of the present invention, a computer-implemented method for using a first thread to obtain a header value of an object includes replacing contents of a header of the object with a sentinel which identifies an execution stack associated with the first thread. Once the object contents are replaced with the sentinel, a determination is made regarding whether the object contents include a header value of the object, and when it is determined that the object contents do not include the header value of the object, a determination is made as to when the object is in the process of being studied by a second thread. In one embodiment, when it is determined that the object is not in the process of being studied by the second thread, the method involves adding the first thread to a list associated with the stack.
申请公布号 US6510437(B1) 申请公布日期 2003.01.21
申请号 US20000670862 申请日期 2000.09.26
申请人 SUN MICROSYSTEMS, INC. 发明人 BAK LARS;LINDHOLM TIMOTHY G.
分类号 G06F9/44;G06F9/46;G06F9/48;G06F9/52;(IPC1-7):G06F17/30 主分类号 G06F9/44
代理机构 代理人
主权项
地址