JooFlux: Hijacking Java 7 InvokeDynamic To Support Live Code Modifications

10/03/2012
by   Julien Ponge, et al.
0

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.

READ FULL TEXT
research
10/10/2018

A Simple Java Code Generator for ACL2 Based on a Deep Embedding of ACL2 in Java

AIJ (ACL2 In Java) is a deep embedding in Java of an executable, side-ef...
research
11/12/2019

Aplib: Tactical Programming of Intelligent Agents

This paper presents aplib, a Java library for programming intelligent ag...
research
03/05/2020

Microservice Decomposition via Static and Dynamic Analysis of the Monolith

Migrating monolithic software systems into microservices requires the ap...
research
01/28/2021

Compact Java Monitors

For scope and context, the idea we'll describe below, Compact Java Monit...
research
08/13/2017

Monadic Remote Invocation

In order to achieve Separation of Concerns in the domain of remote metho...
research
06/14/2017

Understanding and Analyzing Java Reflection

Java reflection has been increasingly used in a wide range of software. ...
research
08/10/2018

COBOL to Java and Newspapers Still Get Delivered

This paper is an experience report on migrating an American newspaper co...

Please sign up or login with your details

Forgot password? Click here to reset