-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to override GC log parameters #986
Allow to override GC log parameters #986
Conversation
With this commit we expose a new telemetry parameter `gc-log-config` that allows users to override the configuration of the GC telemetry device. We only allow to override tags and levels but will still output to a file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor doc nit, and thank you for adding the helpful -Xlog:help
, I had no idea this existed!
docs/telemetry.rst
Outdated
@@ -67,6 +67,15 @@ gc | |||
|
|||
The ``gc`` telemetry device enables GC logs for the benchmark candidate. You can use tools like `GCViewer <https://github.com/chewiebug/GCViewer>`_ to analyze the GC logs. | |||
|
|||
If the runtime JDK is Java 9 or better, the following telemetry parameters can be specified: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think or higher
or or greater
makes more sense than or better
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll change this before I merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in e4deee5.
With this commit we expose a new telemetry parameter
gc-log-config
that allows users to override the configuration of the GC telemetry
device. We only allow to override tags and levels but will still output
to a file.