JooFlux: Hijacking Java 7 InvokeDynamic To Support Live Code Modifications

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.

Data and Resources

Additional Info

Field Value
Source https://inria.hal.science/hal-00737897
Author Ponge, Julien, Le Mouël, Frédéric
Maintainer CCSD
Last Updated November 1, 2026, 01:09 (UTC)
Created November 1, 2026, 01:09 (UTC)
Identifier hal-00737897
Language en
Rights https://about.hal.science/hal-authorisation-v1/
contributor Dynamic Software and Distributed Systems (DYNAMID) ; CITI Centre of Innovation in Telecommunications and Integration of Service (CITI) ; Institut National des Sciences Appliquées de Lyon (INSA Lyon) ; Université de Lyon-Institut National des Sciences Appliquées (INSA)-Université de Lyon-Institut National des Sciences Appliquées (INSA)-Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National des Sciences Appliquées de Lyon (INSA Lyon) ; Université de Lyon-Institut National des Sciences Appliquées (INSA)-Université de Lyon-Institut National des Sciences Appliquées (INSA)-Institut National de Recherche en Informatique et en Automatique (Inria)
creator Ponge, Julien
date 2012-10-02T00:00:00
harvest_object_id 89755e89-ac8f-42ad-b576-1ceb461d7d97
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2026-06-25T00:00:00
relation info:eu-repo/semantics/altIdentifier/arxiv/1210.1039
set_spec type:REPORT