it basically helps when Agent upgraded. No need to change the App startup script.
Here is an internal note.
Bootstrap Agent
Bootstrap mechanism splits the agent into two parts –
- Bootstrap agent
- Delegate real agent
Application java process startup scripts will refer to Bootstrap agent only. This is how agent configuration will look like in startup script
-javaagent:<agent-home>/Agent.jar.
Bootstrap Agent is responsible for loading the delegate real Agent. It loads real Agent from one of the ‘release’ packages available under <agent-home>/releases/<release> folders. Bootstrap Agent, by default, always picks up the "latest" version of Agent on start of java application. The versions and various upgrade policy settings are defined in <agent-home>/agent.policy
Instead of referring to the real Java Agent in application startup script, user has to configure Bootstrap Agent. Therefore, application startup script won't require any changes for Agent upgrade.