1. A computer system for salvaging a hardware transaction, 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 first salvage checkpoint instruction in a code region during transactional execution of the code region of a hardware transaction; based on the executing the first salvage checkpoint instruction, recording transaction state information comprising an address of the first salvage checkpoint instruction within the code region; detecting a pending point of failure in the code region during the transactional execution; based on the detecting, determining that transaction state information has been recorded; based on the detecting, transferring control to an about-to-fail handler; and based on executing the about-to-fail handler, returning to the execution of the code region of the transaction at the address of the first salvage checkpoint instruction.