【24h】

CCCP

机译:中国共产党

获取原文
获取原文并翻译 | 示例

摘要

Calling context profiling is an important technique for locating hotspots in programs. The prevailing data structure is the Calling Context Tree (CCT) that provides dynamic metrics for each calling context. Existing approaches to calling context profiling in Java either limit portability due to the use of native code or of a modified Java Virtual Machine, create incomplete and inaccurate CCTs, or cause excessive overhead. In this paper, we introduce Complete Calling Context Profiling (CCCP), a new approach that reconciles completeness and accuracy of the created CCTs, portability, and moderate overhead. CCCP relies on a generic bytecode instrumentation framework ensuring comprehensive bytecode coverage, including also the standard Java class library. In order to reduce the overhead of accessing the current CCT node, CCCP transforms code such that the caller passes its CCT node to the callee as a special method argument, while ensuring compatibility with native code, reflection, and stack introspection. We use the resulting CCTs for a detailed analysis of the dynamic behavior of Java systems and present a thorough analysis of the origin of runtime overheads.
机译:调用上下文概要分析是在程序中定位热点的一项重要技术。流行的数据结构是呼叫上下文树(CCT),它为每个呼叫上下文提供动态指标。 Java中调用上下文概要分析的现有方法要么由于使用本机代码或经过修改的Java虚拟机而限制了可移植性,要么创建了不完整且不准确的CCT,或者导致了过多的开销。在本文中,我们介绍了完全调用上下文分析(CCCP),这是一种新方法,可协调创建的CCT的完整性和准确性,可移植性和适度的开销。 CCCP依靠通用字节码检测框架来确保全面的字节码覆盖,包括标准Java类库。为了减少访问当前CCT节点的开销,CCCP转换代码,以便调用方将其CCT节点作为特殊方法参数传递给被调用方,同时确保与本机代码,反射和堆栈自检的兼容性。我们使用所得的CCT对Java系统的动态行为进行详细分析,并对运行时开销的来源进行全面分析。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号