Program event recording within a transactional environment

US9317460B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9317460-B2
Application numberUS-201213524903-A
CountryUS
Kind codeB2
Filing dateJun 15, 2012
Priority dateJun 15, 2012
Publication dateApr 19, 2016
Grant dateApr 19, 2016

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.

A transaction is initiated within a computing environment, and based on detecting a program event recording event, an interrupt is presented for the transaction. Subsequent to the interrupt, one or more controls are set to inhibit presentation of another interrupt based on detecting another PER event. Thereafter, the transaction is re-executed and PER events detected during execution of the transaction are ignored.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer program product for controlling transactional execution in a computing environment, the 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, by a processor, a transaction within a computing environment, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction, and wherein presentation of interrupts for the transaction is managed by one or more controls, the one or more controls having state associated therewith; presenting an interrupt for the transaction based on detecting a program event recording (PER) event and the state having a first value, PER being defined as presenting an interrupt based on detecting a PER event, the interrupt causing an address to be saved of a next transaction instruction to be executed; and suppressing PER event detection for the transaction based on the state having a second value, wherein the suppressing comprises ignoring one or more PER event masks used to control one or more PER events for the processor, the ignoring preventing the one or more PER events from operating as defined during transactional-execution mode of the processor, and wherein the suppressing PER event detection avoids presenting interrupts that would have been presented had PER event detection not been suppressed and a PER event detected. 2. The computer program product of claim 1 , wherein the method further comprises re-executing the transaction based on the interrupt, and wherein the state has the second value indicating suppression of PER event detection, wherein presentation of another interrupt based on another PER event is prevented. 3. The computer program product of claim 1 , wherein the one or more controls comprise an event suppression control to specify a suppression of selected PER events, and a transaction end event control to trigger an event based on the selected transaction ending. 4. The computer program product of claim 3 , wherein the selected PER events include one or more events of the following events: successful-branching event, instruction-fetch event, storage-alteration event, store-using-real-address event, or zero-address-detection event. 5. The computer program product of claim 4 , wherein the following events further include an instruction fetch nullification event, based on the transaction not being an outermost transaction. 6. The computer program product of claim 3 , wherein the method further comprises: based on the event suppression control being set, inhibiting PER events, except the transaction end event, independent of accessing task structures in which current PER settings are maintained. 7. The computer program product of claim 1 , wherein the method further comprises detecting execution of a transaction end for the selected transaction, wherein based on the detecting, the one or more controls are to be reset. 8. The computer program product of claim 7 , wherein the selected transaction comprises an outermost transaction. 9. The computer program product of claim 1 , wherein the one or more controls are maintained in a control register of the processor. 10. The computer program product of claim 2 , wherein the other PER event is a same event as the PER event or a different event than the PER event. 11. A computer system for controlling transactional execution in a computing environment, the computer system comprising: a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising: initiating, by a processor, a transaction within a computing environment, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction, and wherein presentation of interrupts for the transaction is managed by one or more controls, the one or more controls having state associated therewith; presenting an interrupt for the transaction based on detecting a program event recording (PER) event and the state having a first value, PER being defined as presenting an interrupt based on detecting a PER event, the interrupt causing an address to be saved of a next transaction instruction to be executed; and suppressing PER event detection for the transaction based on the state having a second value, wherein the suppressing comprises ignoring one or more PER event masks used to control one or more PER events for the processor, the ignoring preventing the one or more PER events from operating as defined during transactional-execution mode of the processor, and wherein the suppressing PER event detection avoids presenting interrupts that would have been presented had PER event detection not been suppressed and a PER event detected. 12. The computer system of claim 11 , wherein the one or more controls comprise an event suppression control to specify a suppression of selected PER events, and a transaction end event control to trigger an event based on the selected transaction ending. 13. The computer system of claim 12 , wherein the selected PER events include one or more events of the following events: successful-branching event, instruction-fetch event, storage-alteration event, store-using-real-address event, or zero-address-detection event. 14. The computer system of claim 12 , wherein the method further comprises: based on the event suppression control being set, inhibiting PER events, except the transaction end event, independent of accessing task structures in which current PER settings are maintained. 15. The computer system of claim 11 , wherein the method further comprises detecting execution of a transaction end for the selected transaction, wherein based on the detecting, the one or more controls are to be reset. 16. The computer system of claim 11 , wherein the one or more controls are maintained in a control register of the processor. 17. The computer system of claim 11 , wherein the method further comprises re-executing the transaction based on the interrupt, and wherein the state has the second value indicating suppression of PER event detection, wherein presentation of another interrupt based on another PER event is prevented, and wherein the other PER event is a same event as the PER event or a different event than the PER event.

Assignees

Inventors

Classifications

  • G06F13/24Primary

    using interrupt (G06F13/32 takes precedence) · CPC title

  • by tracing the execution of the program · CPC title

  • Transaction processing · 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 US9317460B2 cover?
A transaction is initiated within a computing environment, and based on detecting a program event recording event, an interrupt is presented for the transaction. Subsequent to the interrupt, one or more controls are set to inhibit presentation of another interrupt based on detecting another PER event. Thereafter, the transaction is re-executed and PER events detected during execution of the tra…
Who is the assignee on this patent?
Greiner Dan F, Jacobi Christian, Osisek Damian L, and 2 more
What technology area does this patent fall under?
Primary CPC classification G06F13/24. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 19 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). 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).