Invention Grant
US07962924B2 System and method for call stack sampling combined with node and instruction tracing
失效
用于调用堆栈采样的系统和方法结合节点和指令跟踪
- Patent Title: System and method for call stack sampling combined with node and instruction tracing
- Patent Title (中): 用于调用堆栈采样的系统和方法结合节点和指令跟踪
-
Application No.: US11759588Application Date: 2007-06-07
-
Publication No.: US07962924B2Publication Date: 2011-06-14
- Inventor: Kean G. Kuiper , Frank Eliot Levine , Enio Manuel Pineda
- Applicant: Kean G. Kuiper , Frank Eliot Levine , Enio Manuel Pineda
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: VanLeeuwen & VanLeeuwen
- Agent Justin M. Dillon
- Main IPC: G06F3/00
- IPC: G06F3/00 ; G06F9/45

Abstract:
A system and method for Java™ call stack sampling combined with native sampling is presented. A kernel-mode device driver records and stores sampled context information that includes a program counter, a thread identifier, and a process identifier. The sampling thread receives a notification from the kernel-mode device driver, and proceeds to collect call stack information from a Java™ Virtual Machine. In turn, the sampling thread retrieves the sampled context information and harvests symbols corresponding to a loaded module. Once symbols are harvested, the sampling thread combines returned call stack nodes with native function leaf nodes into a unified output tree that provides the relationship between the two different node types. In one embodiment, the sampling thread may generate native function leaf nodes and the unified output tree in a post-processing manner.
Public/Granted literature
- US20080307441A1 System and Method for Call Stack Sampling Combined with Node and Instruction Tracing Public/Granted day:2008-12-11
Information query