RESETTING MEMORY LOCKS IN A TRANSACTIONAL MEMORY SYSTEM
1 Assignment
0 Petitions
Accused Products
Abstract
A system and computer program product for resetting of memory locks in a transactional memory system. The system includes a processor setting at least one new memory lock during execution of a transaction that acquires access to a region of memory. The new memory lock indicates that the transaction and its associated thread have exclusive temporary access to the memory region. The system further includes the processor determining if a first in first out (FIFO) memory lock register is full of memory locks and, in response to the FIFO memory lock register being full, a memory lock is removed from a tail position of the FIFO memory lock register. The removed memory lock is reset to return to a transactional memory state and the new memory lock is added to a head position in the FIFO memory lock register.
7 Citations
20 Claims
-
1-7. -7. (canceled)
-
8. A data processing system comprising:
-
at least one memory; one or more processors in communication with the memory, the processors operable to execute instructions which cause the processor to; set at least one new memory lock during execution of a transaction that acquires access to a region of memory, the new memory lock indicating that the transaction and its associated thread has exclusive temporary access to the memory region; determine if a first in first out (FIFO) memory lock register is full of memory locks; and in response to the FIFO memory lock register being full; remove a memory lock from a tail position of the FIFO memory lock register; reset the removed memory lock to return to a transactional memory state; and add the new memory lock to a head position in the FIFO memory lock register. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product comprising:
-
a computer readable storage device; and program code on the computer readable storage device that when executed within a processing device, the program code provides the functionality of; setting at least one new memory lock during execution of a transaction that acquires access to a region of memory, the new memory lock indicating that the transaction and its associated thread has exclusive temporary access to the memory region; determining if a first in first out (FIFO) memory lock register is full of memory locks; and in response to the FIFO memory lock register being full; removing a memory lock from a tail position of the FIFO memory lock register; resetting the removed memory lock to return to a transactional memory state; and adding the new memory lock to a head position in the FIFO memory lock register. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification