Javaagent support for Emma
Brought to you by:
vlad_r
Right now, on-the-fly instrumentation doesn't always work, especially when the application makes creative use of classloaders (for example, web app servers).
Java 1.5 introduced the ability to provide a pure-Java "javaagent" which can use the java.lang.instrument API to instrument classes throughout the JVM, even replacing classes with other classes.
If Emma provided a javaagent, the javaagent mode would work much better than on-the-fly mode as it is currently implemented.