Thread serialization and disablement tool
First Claim
Patent Images
1. 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, whereinmonitoring 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.
6 Assignments
0 Petitions
Accused Products
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.
-
Citations
9 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. 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.
-
-
9. 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.
-
Specification