Coalescing memory transactions
First Claim
Patent Images
1. A method for coalescing two outermost transactions in a transactional memory environment, the method comprising:
- executing, by a processor, a first transaction begin instruction of a first outermost transaction in which a first nested transaction is nested;
based on executing the first transaction begin instruction, processing, by the processor, the first outermost transaction;
based on encountering a first transaction end instruction of the first outermost transaction during processing of the first outermost transaction, determining, by the processor, whether the first outermost transaction is to-be coalesced with a second outermost transaction in which a second nested transaction is nested; and
based on the determining indicating that the first outermost transaction is to-be coalesced with the second outermost transaction, coalescing, by the processor, the first outermost transaction with the second outermost transaction.
1 Assignment
0 Petitions
Accused Products
Abstract
A transactional memory system coalesces two outermost transactions in a transactional memory environment. A processor of the transactional memory system executes a first transaction begin instruction of a first outermost transaction and processes the first transaction. Based on encountering a first transaction end instruction of the first outermost transaction, the processor determines whether the first transaction is to-be coalesced with a second outermost transaction.
34 Citations
20 Claims
-
1. A method for coalescing two outermost transactions in a transactional memory environment, the method comprising:
-
executing, by a processor, a first transaction begin instruction of a first outermost transaction in which a first nested transaction is nested; based on executing the first transaction begin instruction, processing, by the processor, the first outermost transaction; based on encountering a first transaction end instruction of the first outermost transaction during processing of the first outermost transaction, determining, by the processor, whether the first outermost transaction is to-be coalesced with a second outermost transaction in which a second nested transaction is nested; and based on the determining indicating that the first outermost transaction is to-be coalesced with the second outermost transaction, coalescing, by the processor, the first outermost transaction with the second outermost transaction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for coalescing two outermost transactions in a transactional memory environment, the computer program product comprising:
one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising; program instructions to execute a first transaction begin instruction of a first outermost transaction in which a first nested transaction is nested; program instructions to process the first outermost transaction based on executing the first transaction begin instruction; program instructions to respond to encountering a first transaction end instruction of the first outermost transaction during processing of the first outermost transaction, by determining whether the first outermost transaction is to-be coalesced with a second outermost transaction in which a second nested transaction is nested; and program instructions to respond to a determination that the first outermost transaction is to-be coalesced with the second outermost transaction, by executing program instructions to coalesce the first outermost transaction with the second outermost transaction. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
17. A computer system for coalescing two outermost transactions in a transactional memory environment, the computer system comprising:
-
one or more computer processors; one or more computer readable storage medium; program instructions stored on the computer readable storage medium for execution by at least one of the one or more processors, the program instructions comprising; program instructions to execute a first transaction begin instruction of a first outermost transaction in which a first nested transaction is nested; program instructions to process the first outermost transaction based on executing the first transaction begin instruction; program instructions to respond to encountering a first transaction end instruction of the first outermost transaction during processing of the first outermost transaction, by determining whether the first outermost transaction is to-be coalesced with a second outermost transaction in which a second nested transaction is nested; and program instructions to respond to a determination that the first outermost transaction is to-be coalesced with the second outermost transaction, by executing program instructions to coalesce the first outermost transaction with the second outermost transaction. - View Dependent Claims (18, 19, 20)
-
Specification