Tracing profiling information using per thread metric variables with reused kernel threads
First Claim
1. A data processing system for monitoring performance of a program being executed using per thread metric variables with reused kernel threads comprising:
- receiving means for receiving a value of a metric variable for a kernel thread;
determining means for determining if the kernel thread has been previously used by a first application thread; and
applying means for applying the value of the metric variable to a second application thread if the kernel thread has been previously used by the first application thread.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and system for tracing profiling information using per thread metric variables with reused kernel threads is disclosed. In one embodiment kernel thread level metrics are stored by the operating system kernel. A profiler request metric information for the operating system kernel in response to an event. After the kernel thread level metrics are read by the operating system for a profiler, their values are reset to zero by the operating system kernel. The profiler then applies the metric values to base metric values to appropriate Java threads that are stored in nodes in a tree structure base on the type of event and whether or not the kernel thread has been reused. In another embodiment non-zero values of thread level metrics are entered on a liked list. In response to a request from a profiler, the operating system kernel reads each kernel thread'"'"'s entry in the linked list and zeros each entry. The profiler can then update the intermediate full tree snapshots of profiling information with the collection of non-zero metric variables.
-
Citations
11 Claims
-
1. A data processing system for monitoring performance of a program being executed using per thread metric variables with reused kernel threads comprising:
-
receiving means for receiving a value of a metric variable for a kernel thread; determining means for determining if the kernel thread has been previously used by a first application thread; and applying means for applying the value of the metric variable to a second application thread if the kernel thread has been previously used by the first application thread. - View Dependent Claims (2, 3, 4, 5, 6, 8, 9)
-
-
7. A computer program product in a transitory computer readable medium for implementing a method for monitoring performance of a program being executed using per thread metric variables with reused kernel threads comprising:
-
receiving instructions for receiving a value of a metric variable for a kernel thread; determining instructions for determining if the kernel thread has been previously used by a first application thread; and applying instructions for applying the value of the metric variable to a second application thread if the kernel thread has been previously used by the first application thread. - View Dependent Claims (10, 11)
-
Specification