Randomized testing within transactional execution

US2016306718A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016306718-A1
Application numberUS-201615192565-A
CountryUS
Kind codeA1
Filing dateJun 24, 2016
Priority dateJun 15, 2012
Publication dateOct 20, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Task specific diagnostic controls are provided to facilitate the debugging of certain types of abort conditions. The diagnostic controls may be set to cause transactions to be selectively aborted, allowing a transaction to drive its abort handler routine for testing purposes. The controls include, for instance, a transaction diagnostic scope and a transaction diagnostic control. The transaction diagnostic scope indicates when the transaction diagnostic control is to be applied, and the transaction diagnostic control indicates whether transactions are to selectively aborted.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer program product for controlling execution of transactions in a computing environment, said computer program product comprising: a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: initiating a transaction in a computing environment; and determining, by a processor, whether the transaction is to be aborted, the determining employing one or more controls of a control register used by the processor, the one or more controls to indicate whether transactions are to be randomly selected to be aborted for testing purposes. 2 . The computer program product of claim 1 , wherein the control register comprises a transaction diagnostic control, wherein a first value of the transaction diagnostic control indicates transactions are not to be aborted based on the transaction diagnostic control, a second value of the transaction diagnostic control indicates each transaction is to be aborted based on the transaction diagnostic control, and a third value of the transaction diagnostic control indicates transactions are to be randomly selected to be aborted. 3 . The computer program product of claim 2 , wherein the control register further comprises a transaction diagnostic scope to indicate whether the transaction diagnostic control is to be applied. 4 . The computer program product of claim 3 , wherein a first value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied based on the processor being in a problem state or a supervisor state, and a second value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied exclusive to the processor being in the problem state. 5 . The computer program product of claim 1 , wherein the determining comprises based on the one or more controls indicating transactions are to be randomly selected to be aborted, determining whether the transaction is to be selected for aborting, and wherein the method further comprises based on the determining indicating the transaction is to be selected for aborting, aborting the transaction. 6 . The computer program product of claim 5 , wherein the determining whether the transaction is to be selected for aborting comprises checking a selection control to determine whether the transaction is selected for aborting. 7 . The computer program product of claim 5 , wherein the aborting comprises aborting the transaction at a selected instruction within the transaction. 8 . The computer program product of claim 5 , wherein the aborting further comprises executing an abort handler to provide testing associated with the aborting. 9 . The computer program product of claim 1 , wherein the one or more controls are task specific in that the one or more controls are for a specific task and are set based on user-provided information, the specific task to include the transaction. 10 . The computer program product of claim 1 , wherein the testing purposes includes debugging certain types of abort conditions. 11 . A computer system for controlling execution of transactions in a computing environment, said 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: initiating a transaction in a computing environment; and determining, by the processor, whether the transaction is to be aborted, the determining employing one or more controls of a control register used by the processor, the one or more controls to indicate whether transactions are to be randomly selected to be aborted for testing purposes. 12 . The computer system of claim 11 , wherein the control register comprises a transaction diagnostic control, wherein a first value of the transaction diagnostic control indicates transactions are not to be aborted based on the transaction diagnostic control, a second value of the transaction diagnostic control indicates each transaction is to be aborted based on the transaction diagnostic control, and a third value of the transaction diagnostic control indicates transactions are to be randomly selected to be aborted. 13 . The computer system of claim 12 , wherein the control register further comprises a transaction diagnostic scope to indicate whether the transaction diagnostic control is to be applied. 14 . The computer system of claim 13 , wherein a first value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied based on the processor being in a problem state or a supervisor state, and a second value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied exclusive to the processor being in the problem state. 15 . The computer system of claim 11 , wherein the determining comprises based on the one or more controls indicating transactions are to be randomly selected to be aborted, determining whether the transaction is to be selected for aborting, and wherein the method further comprises based on the determining indicating the transaction is to be selected for aborting, aborting the transaction. 16 . A computer-implemented method of controlling execution of transactions in a computing environment, said method comprising: initiating a transaction in a computing environment; and determining, by a processor, whether the transaction is to be aborted, the determining employing one or more controls of a control register used by the processor, the one or more controls to indicate whether transactions are to be randomly selected to be aborted for testing purposes. 17 . The computer-implemented method of claim 16 , wherein the control register comprises a transaction diagnostic control, wherein a first value of the transaction diagnostic control indicates transactions are not to be aborted based on the transaction diagnostic control, a second value of the transaction diagnostic control indicates each transaction is to be aborted based on the transaction diagnostic control, and a third value of the transaction diagnostic control indicates transactions are to be randomly selected to be aborted. 18 . The computer-implemented method of claim 17 , wherein the control register further comprises a transaction diagnostic scope to indicate whether the transaction diagnostic control is to be applied. 19 . The computer-implemented method of claim 18 , wherein a first value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied based on the processor being in a problem state or a supervisor state, and a second value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied exclusive to the processor being in the problem state. 20 . The computer-implemented method of claim 16 , wherein the determining comprises based on the one or more controls indicating transactions are to be randomly selected to be aborted, determining whether the transaction is to be selected for aborting, and wherein the method further comprises based on the determining indicating the transaction is to be selected for aborting, aborting the transaction.

Assignees

Inventors

Classifications

  • Transaction processing · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

  • Recovery, e.g. branch miss-prediction, exception handling (error detection or correction G06F11/00) · CPC title

  • in transactions (updating of structured data in databases G06F16/23) · CPC title

  • Transactional memory (G06F9/528 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016306718A1 cover?
Task specific diagnostic controls are provided to facilitate the debugging of certain types of abort conditions. The diagnostic controls may be set to cause transactions to be selectively aborted, allowing a transaction to drive its abort handler routine for testing purposes. The controls include, for instance, a transaction diagnostic scope and a transaction diagnostic control. The transaction…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/1474. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Oct 20 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).