1. A computer system for salvaging a partially executed hardware transaction, the computer system comprising: a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising: determining, by the processor, information about an about-to-fail handler for transactional execution of a code region of a hardware transaction; and executing, by the processor, the about-to-fail handler using the information about the about-to-fail handler, the about-to-fail handler determining whether the hardware transaction is to be salvaged or to be aborted.