Code optimization to enable and disable coalescing of memory transactions
First Claim
1. A method of controlling a coalescing of outermost memory transactions, the coalescing causing committing of memory store data to memory for a first transaction to be done at transaction execution (TX) end of a second transaction, the method comprising:
- executing, by a processor, a run-time instrumentation program for monitoring and modifying an associated program having a plurality of transactions; and
based, at least in part, on an analysis of gathered instrumentation information, dynamically modifying, by the processor, continued execution of the plurality of transactions by adding a coalescing instruction that controls, at least in part, a coalescing of one or more outermost transactions of the plurality of transactions with at least one other transaction to form a new transaction.
1 Assignment
0 Petitions
Accused Products
Abstract
A transactional memory system controls the coalescing of outermost memory transactions. The coalescing causing committing of memory store data to memory for a first transaction to be done at transaction execution (TX) end of a second transaction. A processor of the transactional memory system executes a run-time instrumentation program for monitoring and modifying an associated program having a plurality of transactions. Based, at least in part, on an analysis of gathered instrumentation information, the processor dynamically modifies continued execution of the plurality of transactions by adding a coalescing instruction that controls, at least in part, a coalescing of one or more outermost transactions of the plurality of transactions.
34 Citations
20 Claims
-
1. A method of controlling a coalescing of outermost memory transactions, the coalescing causing committing of memory store data to memory for a first transaction to be done at transaction execution (TX) end of a second transaction, the method comprising:
-
executing, by a processor, a run-time instrumentation program for monitoring and modifying an associated program having a plurality of transactions; and based, at least in part, on an analysis of gathered instrumentation information, dynamically modifying, by the processor, continued execution of the plurality of transactions by adding a coalescing instruction that controls, at least in part, a coalescing of one or more outermost transactions of the plurality of transactions with at least one other transaction to form a new transaction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system for controlling a coalescing of outermost memory transactions, the coalescing causing committing of memory store data to memory for a first transaction to be done at transaction execution (TX) end of a second transaction, the computer system comprising:
-
a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising; executing, by a processor, a run-time instrumentation program for monitoring and modifying an associated program having a plurality of transactions; and based, at least in part, on an analysis of gathered instrumentation information, dynamically modifying, by the processor, continued execution of the plurality of transactions by adding a coalescing instruction that controls, at least in part, a coalescing of one or more outermost transactions of the plurality of transactions with at least one other transaction to form a new transaction. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for controlling a coalescing of outermost memory transactions, the coalescing causing committing of memory store data to memory for a first transaction to be done at transaction execution (TX) end of a second transaction, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; executing, by a processor, a run-time instrumentation program for monitoring and modifying an associated program having a plurality of transactions; and based, at least in part, on an analysis of gathered instrumentation information, dynamically modifying, by the processor, continued execution of the plurality of transactions by adding a coalescing instruction that controls, at least in part, a coalescing of one or more outermost transactions of the plurality of transactions with at least one other transaction to form a new transaction. - View Dependent Claims (18, 19, 20)
Specification