Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Aug 14, 2020
1 parent 5bdcf21 commit f145316
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/contributing/javaagent-jar-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ agent](https://docs.oracle.com/javase/7/docs/api/java/lang/instrument/package-su
This class is loaded during application startup by application classloader.
Its sole responsibility is to push agent's classes into JVM's bootstrap
classloader and immediately delegate to
`io.opentelemetry.javaagent.bootstrap.Agent` (now in the bootstrap class loader)
`io.opentelemetry.javaagent.bootstrap.AgentBootstrap` (now in the bootstrap class loader)
class from there.

### Modules that live in the bootstrap class loader

#### `javaagent-bootstrap` module

`io.opentelemetry.javaagent.bootstrap.Agent` and a few other classes that live in the bootstrap class
`io.opentelemetry.javaagent.bootstrap.AgentBootstrap` and a few other classes that live in the bootstrap class
loader but are not used directly by auto-instrumentation

#### `instrumentation-api` and `auto-api` modules
Expand Down Expand Up @@ -56,7 +56,7 @@ host application. This is achieved in the following way:
folder inside final jar file, called`inst`.
In addition, the extension of all class files is changed from `class` to `classdata`.
This ensures that general classloaders cannot find nor load these classes.
- When `io.opentelemetry.javaagent.bootstrap.Agent` starts up, it creates an
- When `io.opentelemetry.javaagent.bootstrap.AgentBootstrap` starts up, it creates an
instance of `io.opentelemetry.instrumentation.auto.api.AgentClassLoader`, loads an
`io.opentelemetry.javaagent.tooling.AgentInstaller` from that `AgentClassLoader`
and then passes control on to the `AgentInstaller` (now in the
Expand Down

0 comments on commit f145316

Please sign in to comment.