Marc R. Hoffmann
Marc R. Hoffmann
@Godin BTW, we have a pluggable runtime access API even today. We could easily add a new implementation which uses a direct dependency.
Apache Commons Collections (min test runtime out of 10 runs): - run 6066ms - coverage 7176ms (+18%) - coverage/nomembers 14429ms (+138%)
@Godin Same problem with web and j2ee containers. The agent is only part of the container's application class path, not visible to the deployed apps itself. With Java 1.6 the...
@Godin What I mean is that we would need a physical JAR file in addition to the agent where the location is known to the agent. Of course we could...
@Godin It's not just one method call, its a bunch of methods involving synchronization and a map lookup -- in comparison to local field access.
BTW, it wouldn't be a big deal to make NNMM ("no new members mode") optional and configurable via a agent parameter.
That is tricky in case of ModifiedSystemClassRuntime: It would be easy to add a method to the modified system class, but this method cannot call any JaCoCo runtime class. That's...
Same issue to solve: the bootstrap method (which is part of the agent runtime) has to be visible from the instrumented classes. Beside that this would disable reset it only...
@Godin Agreed, but the impact of changing the probe strategy at all is a bit bigger. Looks like we need a plugable framework to configure any aspect of the runtime...
@Godin Interesting idea, the challenge is how to provide and load these classes.