HAL will be down for maintenance from Friday, June 10 at 4pm through Monday, June 13 at 9am. More information
Skip to Main content Skip to Navigation

JooFlux: Hijacking Java 7 InvokeDynamic To Support Live Code Modifications

Julien Ponge 1 Frédéric Le Mouël 1
1 DYNAMID - Dynamic Software and Distributed Systems
CITI - CITI Centre of Innovation in Telecommunications and Integration of services
Abstract : 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.
Complete list of metadata

Cited literature [24 references]  Display  Hide  Download

Contributor : Frédéric Le Mouël Connect in order to contact the contributor
Submitted on : Tuesday, October 2, 2012 - 6:13:33 PM
Last modification on : Wednesday, July 8, 2020 - 12:43:56 PM
Long-term archiving on: : Friday, December 16, 2016 - 7:13:52 PM


Files produced by the author(s)


  • HAL Id : hal-00737897, version 1
  • ARXIV : 1210.1039



Julien Ponge, Frédéric Le Mouël. JooFlux: Hijacking Java 7 InvokeDynamic To Support Live Code Modifications. [Research Report] INSA Lyon; INRIA. 2012. ⟨hal-00737897⟩



Record views


Files downloads