Invention Grant
- Patent Title: Victim selection for deadlock detection
- Patent Title (中): 受害者选择死锁检测
-
Application No.: US09922424Application Date: 2001-08-03
-
Publication No.: US07185339B2Publication Date: 2007-02-27
- Inventor: Alok Kumar Srivastava , Wilson Wai Shun Chan
- Applicant: Alok Kumar Srivastava , Wilson Wai Shun Chan
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Truong & Becker LLP
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
A mechanism and system are described for either releasing held resources in the case of a deadlock or to postpone requests for resources when a potential deadlock is detected. One technique involves a three pass algorithm for selecting a candidate, where the candidate is either a possessory entity or resource is used. The three passes are as follows: (1) determining the subset of candidates, which have the CAN-BE-VICTIM flag set on; (2) If pass one results in a subset with more than one candidates in it, process that subset to determine a second subset of candidates based on resource priority associated with a resource type; (3) If the second pass results in a subset with more than one candidate in it, process that subset to select the candidate that has been running or held the shortest length of time.
Public/Granted literature
- US20030028638A1 Victim selection for deadlock detection Public/Granted day:2003-02-06
Information query