Abstract:
Profiling technique can provide accurate program execution information. But an online Profiling can only collect simple information in runtime environment due to the overhead. This paper proposes Profiling technique based on partial call graph, which can reduce the runtime overhead when collecting thread-specific profile information of multithread applications. The Profiling technique is implemented in a Java virtual machine. The experiments show its runtime overhead is only 2%~4% compared with that of old ones.
Key words:
Profiling technique,
online Profiling,
runtime environment
摘要: Profiling技术能提供程序实际执行时的相关信息。在动态编译环境中,Profiling的运行时开销导致难以收集较为复杂的运行时信息。该文提出一种基于部分调用图的Profiling技术,在收集多线程程序中线程相关的各种执行信息时,能有效减少运行时开销。在开放源码的虚拟机上实现了该Profiling技术。实验表明,其运行时开销只有原来的2%~4%。
关键词:
Profiling技术,
在线Profiling,
运行时环境
CLC Number:
LIU Tao; WU Cheng-yong; ZHANG Zhao-qing. Thread-sensitive Profiling Technique Based on Partial Call Graph[J]. Computer Engineering, 2008, 34(10): 30-32.
刘 弢;吴承勇;张兆庆. 基于部分调用图的线程敏感Profiling技术[J]. 计算机工程, 2008, 34(10): 30-32.