×

Testing multi-threaded applications

  • US 10,725,889 B2
  • Filed: 08/28/2013
  • Issued: 07/28/2020
  • Est. Priority Date: 08/28/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for testing a multi-threaded application comprising:

  • running, with a computational processor, an initial test of the multi-threaded application and collecting thread generation data comprising identification of a parent thread for each of a plurality of child threads of the multi-threaded application;

    generating, by the computational processor, a hierarchal tree comprising parent-child relationships determined from the identification of the parent thread for each child thread;

    collecting thread information relating to each thread in the multi-threaded application, including a number of threads created in the multi-threaded application and function call information relating to each thread;

    determining, with the computational processor, a thread hierarchy based on the hierarchal tree, wherein determining the thread hierarchy includes associating each thread with a unique identifier comprising an identifier of a parent thread and an identifier of a child thread'"'"'s order of creation by its parent thread for a child thread of the parent thread;

    utilizing the thread information relating to each thread and the thread hierarchy to determine an error in execution of the multi-threaded application;

    modifying, using the determined error and a predefined thread profile, a thread execution priority of at least one thread of the multi-threaded application to produce a modified configuration of the multi-threaded application based on the thread hierarchy; and

    running, with the computational processor, a second test with the modified configuration of the multi-threaded application.

View all claims
  • 8 Assignments
Timeline View
Assignment View
    ×
    ×