Thread serialization and disablement tool
AssigneeInternational Business Machines Corporation
InventorKirk J. Krauss
Life of this patent
Estimating the term…
Abstract
A computer-implemented method of performing runtime analysis on and control of a multithreaded computer program. One embodiment of the present invention can include identifying threads of a computer program to be analyzed. With a supervisor thread, execution of the identified threads can be controlled and execution of the identified threads can be monitored to determine a status of the identified threads. An indicator corresponding to the determined status of the threads can be output.
Claims9
A method of performing runtime analysis on and runtime control of a multithreaded computer program, the method comprising:
- identifying threads of a computer program to be analyzed;
- with a supervisor thread, controlling, using a processor, an execution of the identified threads;
- monitoring the execution of the identified threads to determine a status of the identified threads;
- and
- presenting in a user interface that is presented on a display at least one indicator corresponding to the determined status of the identified threads, wherein
- monitoring the execution of the identified threads comprises:
- instrumenting the computer program to track events for each of the identified threads of the computer program;
- and
- performing runtime analysis on the tracked events.
A method of performing runtime analysis on and runtime control of a multithreaded computer program, the method comprising:
- identifying threads of a computer program to be analyzed;
- with a supervisor thread, controlling, using a processor, an execution of the identified threads;
- monitoring the execution of the identified threads to determine a status of the identified threads;
- and
- presenting in a user interface that is presented on a display at least one indicator corresponding to the determined status of the identified threads, wherein
- monitoring the execution of the identified threads comprises:
- instrumenting the computer program to track use of computer program under test (CPUT) locks by the computer program;
- and
- performing runtime analysis on the tracked use of the CPUT locks.
A method of performing runtime analysis on and runtime control of a multithreaded computer program, the method comprising:
- identifying threads of a computer program to be analyzed;
- with a supervisor thread, controlling, using a processor, an execution of the identified threads;
- monitoring the execution of the identified threads to determine a status of the identified threads;
- and
- presenting in a user interface that is presented on a display at least one indicator corresponding to the determined status of the identified threads, wherein
- controlling execution of the identified threads comprises:
- allocating a management lock for shared ownership by a plurality of the threads;
- and
- revoking ownership of the management lock from a first of the plurality of the threads when there is no processor activity detected for the first thread.
Dependencies are inferred from the claim text.