Thread based dynamic data collection

US10740166B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10740166-B2
Application numberUS-201715849397-A
CountryUS
Kind codeB2
Filing dateDec 20, 2017
Priority dateJan 12, 2012
Publication dateAug 11, 2020
Grant dateAug 11, 2020

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.

Execution of a program in a plurality of threads is monitored. Responsive to identifying an exception triggered by the program execution in a first of the plurality of threads, a data collector can be dynamically created for the exception. The data collector can be configured to collect data exclusively relevant to the program execution in the first thread.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method comprising: monitoring execution of a program in a plurality of threads; responsive to identifying an exception triggered by the program execution in a first of the plurality of threads, dynamically creating a data collector for the exception, the data collector configured to collect data exclusively relevant to the program execution in the first thread; prior to a function of a first failure data capture system being initiated, initiating the data collector to collect the data exclusively relevant to the program execution in the first thread; collecting, using the data collector, the data exclusively relevant to the program execution in the first thread; and outputting the data exclusively relevant to the program execution in the first thread. 2. The method of claim 1 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises initiating the data collector once for a corresponding initiation of the first failure data capture system. 3. The method of claim 2 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises limiting the initiation of the corresponding first failure data capture system to a single instance of the first failure data capture system for the identified exception. 4. The method of claim 1 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises initiating the data collector to collect the data for an instance of a method in a call stack nearest the exception in the call stack, wherein the exception is an original exception triggered by the program execution in the first of the plurality of threads. 5. The method of claim 1 , further comprising: registering the data collector with a first failure data capture system as an exception collector in an exception collector list; and responsive to outputting the data exclusively relevant to the program execution in the first thread, de-registering the data collector with the first failure data capture system by removing the data collector from the exception collector list. 6. A system comprising: a processor configured to initiate executable operations comprising: monitoring execution of a program in a plurality of threads; responsive to identifying an exception triggered by the program execution in a first of the plurality of threads, dynamically creating a data collector for the exception, the data collector configured to collect data exclusively relevant to the program execution in the first thread; prior to a function of a first failure data capture system being initiated, initiating the data collector to collect the data exclusively relevant to the program execution in the first thread; collecting, using the data collector, the data exclusively relevant to the program execution in the first thread; and outputting the data exclusively relevant to the program execution in the first thread. 7. The system of claim 6 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises the processor initiating the data collector once for a corresponding initiation of the first failure data capture system. 8. The system of claim 7 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises the processor limiting the initiation of the corresponding first failure data capture system to a single instance of the first failure data capture system for the identified exception. 9. The system of claim 6 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises the processor initiating the data collector to collect the data for an instance of a method in a call stack nearest the exception in the call stack, wherein the exception is an original exception triggered by the program execution in the first of the plurality of threads. 10. The system of claim 6 , wherein the processor is further configured to initiate executable operations comprising: registering the data collector with a first failure data capture system as an exception collector in an exception collector list; and responsive to outputting the data exclusively relevant to the program execution in the first thread, de-registering the data collector with the first failure data capture system by removing the data collector from the exception collector list. 11. A computer program product, comprising: a computer-readable storage medium having program code stored thereon, wherein the computer-readable storage medium is not a transitory, propagating signal per se, the program code executable by a data processing system to initiate operations including: monitoring execution of the program in a plurality of threads; and responsive to identifying an exception triggered by the program execution in a first of the plurality of threads, dynamically creating a data collector for the exception, the data collector configured to collect data exclusively relevant to the program execution in the first thread; prior to a function of a first failure data capture system being initiated, initiating the data collector to collect the data exclusively relevant to the program execution in the first thread; collecting, using the data collector, the data exclusively relevant to the program execution in the first thread; and outputting the data exclusively relevant to the program execution in the first thread. 12. The computer program product of claim 11 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises initiating the data collector once for a corresponding initiation of the first failure data capture system. 13. The computer program product of claim 12 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises limiting the initiation of the corresponding first failure data capture system to a single instance of the first failure data capture system for the identified exception. 14. The computer program product of claim 11 , wherein the initiating the data collector to collect the data exclusively relevant to the program execution in the first thread comprises initiating the data collector to collect the data for an instance of a method in a call stack nearest the exception in the call stack, wherein the exception is an original exception triggered by the program execution in the first of the plurality of threads. 15. The computer program product of claim 11 , wherein the program code is executable by the data processing system to initiate operations further comprising: registering the data collector with a first failure data capture system as an exception collector in an exception collector list; and responsive to outputting the data exclusively relevant to the program execution in the first thread, de-registering the data collector with the first failure data capture system by removing the data collector from the exception collector list.

Assignees

Inventors

Classifications

  • Data logging (G06F11/14, G06F11/2205 take precedence) · CPC title

  • Monitoring of software · CPC title

  • for parallel or distributed programming · CPC title

  • Storage of error reports, e.g. persistent data storage, storage using memory protection · 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 US10740166B2 cover?
Execution of a program in a plurality of threads is monitored. Responsive to identifying an exception triggered by the program execution in a first of the plurality of threads, a data collector can be dynamically created for the exception. The data collector can be configured to collect data exclusively relevant to the program execution in the first thread.
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3476. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 11 2020 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).