Methods and apparatus to form a transactional objective instruction construct from lock-based critical sections
First Claim
Patent Images
1. A method comprising:
- translating a source instruction construct to form a first transactional objective instruction construct;
executing the first transactional objective instruction construct;
intercepting an aborted transaction associated with the executed first transactional objective instruction construct when a conflict is detected;
maintaining a graph of nodes and edges associated with the executed first transactional objective instruction construct to predict a deadlock situation;
resolving the predicted deadlock situation associated with the first transactional objective instruction construct based on the graph; and
identifying the source instruction construct as a candidate for translation prevention in response to the conflict associated with the first transactional objective instruction construct.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and an apparatus for forming a transaction object instruction construct are provided. An example method translates a source instruction construct to form a transactional objective instruction construct, executes the transactional objective instruction construct, intercepts an aborted transaction associated with the transactional objective instruction construct during execution, maintains a graph of nodes and edges associated with the executed transactional objective instruction construct to predict a deadlock situation, and resolves the deadlock situation associated with the transactional objective instruction construct based on the graph.
15 Citations
28 Claims
-
1. A method comprising:
-
translating a source instruction construct to form a first transactional objective instruction construct; executing the first transactional objective instruction construct; intercepting an aborted transaction associated with the executed first transactional objective instruction construct when a conflict is detected; maintaining a graph of nodes and edges associated with the executed first transactional objective instruction construct to predict a deadlock situation; resolving the predicted deadlock situation associated with the first transactional objective instruction construct based on the graph; and identifying the source instruction construct as a candidate for translation prevention in response to the conflict associated with the first transactional objective instruction construct. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An article of manufacture storing machine readable instructions which, when executed, cause a machine to:
-
translate a source instruction construct to form a first transactional objective instruction construct; execute the first transactional objective instruction construct; intercept an aborted transaction associated with the executed first transactional objective instruction construct when a conflict is detected; maintain a graph of nodes and edges associated with the executed first transactional objective instruction construct to predict a deadlock situation; resolve the predicted deadlock situation associated with the first transactional objective instruction construct based on the graph; and identify the source instruction construct as a candidate for translation prevention in response to the conflict associated with the first transactional objective instruction construct. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An apparatus comprising:
-
a computing platform; and a dynamic binary translator coupled to the computing platform to; translate a source instruction construct to form a first transactional objective instruction construct; execute the first transactional objective instruction construct; intercept an aborted transaction associated with the executed first transactional objective instruction construct when a conflict is detected; maintain a graph of nodes and edges associated with the executed first transactional objective instruction construct to predict a deadlock situation; resolve the predicted deadlock situation associated with the first transactional objective instruction construct based on the graph; and identify the source instruction construct as a candidate for translation prevention in response to the conflict associated with the first transactional objective instruction construct. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification