计算机科学 > 操作系统
[提交于 2012年10月4日]
标题:JooFlux: Hijacking Java 7 InvokeDynamic To Support Live Code Modifications
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Changing functional and non-functional software implementation at runtime is useful and even sometimes critical both in development and production environments. JooFlux is a JVM agent that allows both the dynamic replacement of method implementations and the application of aspect advices. It works by doing bytecode transformation to take advantage of the new invokedynamic instruction added in Java SE 7 to help implementing dynamic languages for the JVM. JooFlux can be managed using a JMX agent so as to operate dynamic modifications at runtime, without resorting to a dedicated domain-specific language. We compared JooFlux with existing AOP platforms and dynamic languages. Results demonstrate that JooFlux performances are close to the Java ones --- with most of the time a marginal overhead, and sometimes a gain --- where AOP platforms and dynamic languages present significant overheads. This paves the way for interesting future evolutions and applications of JooFlux.
提交历史
来自:Frederic Le Mouel[v1] 2012年10月4日 星期四 00:00:00 UTC