...
Each agent has a configuration that provides IP-address and port, via which he can communicate with the CMR and send data to.
Also the sensors that have to be used and the classes that have to be instrumented are configured in the configuration file.
Also a buffer strategy has to be set, so that the agent knows, what to do when it's not possible to send the data at the moment.
Its important to keep in mind, that a high aggregation of the collected data has an negative impact on the CPU consumption of the target application, bus puts less stress on the network.
JVM Environment
Class Loading
The classes are loaded at that moment, when there are needed for the first time. Not earlier.
Static classes an that containing static methods are instantiated on application startup and are not effected by this rule.
Class Loader Hierarchy
Instrumentation
Method Invocations in JVM
Threads
Thread Variables
RMI