Flexible acceleration of java thread synchronization on multiprocessor computers
First Claim
Patent Images
1. A method comprising:
- utilizing a monitor to control access by competing threads to a shared resource, said monitor having a data structure to process lock requests;
providing an extension in said monitor data structure to keep a count of unique thread accesses in a given time period; and
registering a number of unique requests for a given lock by contending threads and registering a count indicative of the number of contending threads in the given time period.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and machine-readable medium measure requests by threads requesting a lock to differentiate “hot” and “cold” locks in accordance with the level of contention for the locks. A hardware accelerator manages access to hot locks to improve performance.
57 Citations
15 Claims
-
1. A method comprising:
-
utilizing a monitor to control access by competing threads to a shared resource, said monitor having a data structure to process lock requests;
providing an extension in said monitor data structure to keep a count of unique thread accesses in a given time period; and
registering a number of unique requests for a given lock by contending threads and registering a count indicative of the number of contending threads in the given time period. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A machine-readable medium that provides instructions, which when executed by a processor, causes said processor to perform operations comprising:
-
utilizing a monitor to control access by competing threads to a shared resource, said monitor having a data structure to process lock requests;
providing an extension in said monitor data structure to keep a count of unique thread accesses in a given time period; and
registering a number of unique requests for a given lock by contending threads and registering a count indicative of the number of contending threads in the given time period. - View Dependent Claims (7, 8, 9, 10, 11)
-
- 12. A lock register comprising a processor lock register to register access requests by each of the plurality of processors to a shared resource and a lock current ownership data structure corresponding to each of said locks, said lock data structure registering identity of said lock, identity of contending threads and identity of a processor on which said thread is executing.
Specification