Invention Grant
US07962924B2 System and method for call stack sampling combined with node and instruction tracing 失效
用于调用堆栈采样的系统和方法结合节点和指令跟踪

System and method for call stack sampling combined with node and instruction tracing
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.
Information query
Patent Agency Ranking
0/0