Skip to content

Commit b939779

Browse files
committed
Add a documentation note about the injected JVM arguments on Java 9+
1 parent 63c8d1e commit b939779

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/framework-takipi_agent.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ The framework can be configured by modifying the [`config/takipi_agent.yml`][] f
3636
| `node_name_prefix` | Node name prefix, will be concatenated with `-` and instance index
3737
| `application_name` | Override the CloudFoundry default application name
3838

39+
### Remarks
40+
In case **Java 9+** is being used, 2 JVM flags will be added to the execution:
41+
| Name | Description
42+
| ---- | -----------
43+
| `-XX:-UseTypeSpeculation` | Disable type speculation optimization of the JVM which might not work properly in some situations where an agent is present.
44+
| `-Xshare:off` | Disable class sharing as it might affect the agent's bytecode manipulation work.
45+
46+
These two flags are needs as otherwise the agent or the JVM might not work properly together.
47+
3948
## Logs
4049

4150
Currently, you can get the Takipi agent logs using `cf files` command:

0 commit comments

Comments
 (0)