-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GR-51629] Add support for JFR -XX:FlightRecorderOptions.
PullRequest: graal/16742
- Loading branch information
Showing
5 changed files
with
160 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...m/src/com.oracle.svm.core/src/com/oracle/svm/core/doc-files/FlightRecorderOptionsHelp.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Usage: -XX:FlightRecorderOptions=[option[=value][,...]] | ||
|
||
This option expects a comma separated list of key-value pairs. None of the options are mandatory. Possible option keys are as follows: | ||
|
||
globalbuffercount=20 (Optional) Number of global JFR buffers. This is a legacy option. | ||
This value cannot be changed once JFR has been initialized. | ||
The default value is determined by the values for memorysize and globalbuffersize. | ||
|
||
globalbuffersize=512k (Optional) Size of each global JFR buffer. This is a legacy option. | ||
This value cannot be changed once JFR has been initialized. | ||
The default value is determined by the values for memorysize and globalbuffercount. | ||
|
||
maxchunksize=12m (Optional) Maximum size of each individual JFR data chunk. | ||
This value cannot be changed once JFR has been initialized. | ||
|
||
memorysize=10m (Optional) Total size of all global JFR buffers. | ||
This value cannot be changed once JFR has been initialized. | ||
|
||
repositorypath=... (Optional) Path to the location where JFR recordings are stored until they are | ||
written to a permanent file. | ||
The default location is the temporary directory for the operating system. | ||
|
||
stackdepth=64 (Optional) Stack depth for stack traces. | ||
Setting this value greater than the default may cause a performance degradation. | ||
This value cannot be changed once JFR has been initialized. | ||
|
||
thread_buffer_size=8k (Optional) Size of each thread-local JFR buffer. | ||
This value cannot be changed once JFR has been initialized. | ||
|
||
preserve-repository=false (Optional) Preserve files stored in the disk repository after the process exits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters