×

Facilitating transaction completion subsequent to repeated aborts of the transaction

  • US 9,367,378 B2
  • Filed: 03/03/2013
  • Issued: 06/14/2016
  • Est. Priority Date: 06/15/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of facilitating processing within a computing environment, said method comprising:

  • tracking, by a processor of the computing environment, a number of times a transaction executing within the processor aborts, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction, and the tracking employing a counter within the processor to track the number of aborts of the transaction;

    determining whether the transaction has successfully completed, and based on the transaction successfully completing, automatically resetting the counter to a predefined value;

    based on the transaction aborting, automatically resetting the counter to the predefined value based on an interruption action, wherein the automatically resetting the counter to the predefined value is based on one of the following;

    reaching by the counter a threshold number of aborts for the transaction causing an interrupt to be presented for the transaction, the counter to track the number of aborts of the transaction;

    determining the abort of the transaction is due to an interruption; and

    based on the transaction aborting for a reason other than an interruption, determining whether the counter has reached the threshold number of aborts, and based on the counter not reaching the threshold number of aborts, re-executing the transaction via a transaction begin instruction.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×