Adaptive locking in elastic threading systems
AssigneeInternational Business Machines Corporation
InventorsXavier Rene Guérin, Scott Schneider, Xiang Ni
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsXavier Rene Guérin, Scott Schneider, Xiang Ni
Estimating the term…
A multithreading system that performs elastic threading and dynamic patching is provided. The system receives a compiled object of a computing process, the compiled object comprising a set of locking instructions for ensuring exclusive access of a resource by the computing process. The system determines a thread count for the computing process. When the thread count indicates that a single thread is allocated to execute the computing process, the system patches the compiled object with a set of no-operation (NOP) instructions in place of the set of locking instructions. When the thread count indicates that two or more threads are allocated to execute the computing process, the system patches the compiled object with the set of locking instructions in place of the set of NOP instructions. The system executes the computing process according to the patched compiled object.
A computing device comprising:
A computer program product comprising:
A computer-implemented method comprising:
Dependencies are inferred from the claim text.