1. An apparatus comprising: processing circuitry; and a computer-readable storage medium having stored thereon instructions for execution by the processing circuitry to: receive an indication of an aborted transaction, the aborted transaction to occur in a transactional memory process comprising a plurality of phases comprising a first hardware phase wherein transactions are to be executed regardless of a state of a global lock, a second hardware phase wherein transactions are to be executed if the global lock is not set and are not to be executed if the global lock is set, and a software phase; identify a cause of the aborted transaction; and determine a phase of the plurality of phases to reattempt the aborted transaction based on the cause of the aborted transaction.