Performing runtime analysis and control of folding identified threads by assuming context of another thread and executing in lieu of another thread folding tool
First Claim
Patent Images
1. A computer program product, comprising:
- a computer usable storage memory having stored therein computer usable program code for performing runtime analysis and runtime control of a multithreaded computer program, the computer usable program code, which when executed by a computer hardware system, causes the computer hardware system to perform;
identifying threads of the multithreaded computer program to be analyzed;
folding, under control of a supervisor thread, a plurality of the identified threads together to be executed as a single folded thread;
monitoring the execution of the folded thread to determine a status of the identified threads;
presenting in a user interface at least one indicator corresponding to the determined status of the identified threads;
receiving a user selection of a first of the identified threads and a second of the identified threads;
assigning the first thread to assume a context of the second thread; and
executing, during execution of the identified threads, the first thread in lieu of the second thread when the second thread would otherwise be executed but for the first thread assuming the context.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program product for 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. Under control of a supervisor thread, a plurality of the identified threads can be folded together to be executed as a folded thread. The execution of the folded thread can be monitored to determine a status of the identified threads. An indicator corresponding to the determined status of the identified threads can be presented in a user interface that is presented on a display.
-
Citations
9 Claims
-
1. A computer program product, comprising:
a computer usable storage memory having stored therein computer usable program code for performing runtime analysis and runtime control of a multithreaded computer program, the computer usable program code, which when executed by a computer hardware system, causes the computer hardware system to perform; identifying threads of the multithreaded computer program to be analyzed; folding, under control of a supervisor thread, a plurality of the identified threads together to be executed as a single folded thread; monitoring the execution of the folded thread to determine a status of the identified threads; presenting in a user interface at least one indicator corresponding to the determined status of the identified threads; receiving a user selection of a first of the identified threads and a second of the identified threads; assigning the first thread to assume a context of the second thread; and executing, during execution of the identified threads, the first thread in lieu of the second thread when the second thread would otherwise be executed but for the first thread assuming the context. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
Specification