"What's most interesting is how simple and straightforward the basic implementation of a Java simple agent is. If you want to try it, you can be up and running with your own agent implementation in minutes!"
"The JVM has 3 entry points: agentmain, premain, main. -javaagent uses premain, which also runs on the main thread, and you can have multiple java agents. The agentmain is on it's own thread and if you attach to a JVM you enter this thread. You can have multiple agents but there is only one entry thread"