Advanced Java bytecode instrumentation

Advanced Java bytecode instrumentation
复制标题

高级 Java 字节码检测

DOI:
--
复制
发表时间:
2007
期刊:
Principles and Practice of Programming in Java
影响因子:
--
通讯作者:
Philippe Moret
Philippe Moret
中科院分区:
--
文献类型:
--
作者:
Walter Binder;J. Hulaas;Philippe Moret

文献摘要

被引文献

相似文献

字节码插装是一种非常有价值的技术,可以透明地增强虚拟执行环境,以实现监视或分析等目的。当前的字节码插装方法要么将某些方法排除在插装之外,要么严格限制某些方法的插装方式,要么要求使用本机代码。在本文中,我们比较了不同的方法,在Java中的字节码插装,并提出了一种新的插装框架,超越了上述限制。我们评估我们的方法与仪器分析,生成调用上下文树的各种平台无关的动态指标。
Bytecode instrumentation is a valuable technique for transparently enhancing virtual execution environments for purposes such as monitoring or profiling. Current approaches to bytecode instrumentation either exclude some methods from instrumentation, severely restrict the ways certain methods may be instrumented, or require the use of native code. In this paper we compare different approaches to bytecode instrumentation in Java and come up with a novel instrumentation framework that goes beyond the aforementioned limitations. We evaluate our approach with an instrumentation for profiling which generates calling context trees of various platform-independent dynamic metrics.