Patent ID: 9442853
Filing Date: 2016-09-13
CPC Classification: G06F

Claim Text:
1. A computer system for salvaging a hardware lock elision (HLE) transaction in an HLE environment, the computer system comprising: a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, the method comprising: executing a lock-acquire instruction in an HLE environment, the execution comprising recording information about a lock elided to begin HLE transactional execution of a code region; detecting a pending point-of-failure in the code region during the HLE transactional execution; based on the detecting the pending point-of-failure, stopping HLE transactional execution prior to the pending point-of-failure in the code region; based on the stopping, acquiring the lock using the information about the lock elided; based on acquiring the lock, committing speculative state of the stopped HLE transactional execution that is stored, at least in part, in a gathering store cache; and starting non-transactional execution at the point of failure in the code region.