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
8211230 JFR: internal events #6764
Conversation
|
Webrevs
|
@egahlin This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the
|
/integrate |
Going to push as commit 08aad85. |
Hi,
Could I have review of a fix that adds internal events.
Internal events are for Hotspot developers so they can easily create events for temporary measurements without the need to modify .jfc file etc.
The code that commits internal events are never meant to go Into the product and could be seen as a low overhead alternative to printf statements. Internal events are "registered" with JFR when the commit() method is called. If it is never invoked, the event will remain hidden.
The ZThreadDebug is turned into an internal event, so it is not visible in product and four new internal events are added "EventDuration", "EventInstant", "EventValue" and "EventText". Example usage:
To build and show events:
Programmatic access:
Testing: jdk/jdk/jfr
Thanks
Erik
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/6764/head:pull/6764
$ git checkout pull/6764
Update a local copy of the PR:
$ git checkout pull/6764
$ git pull https://git.openjdk.java.net/jdk pull/6764/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 6764
View PR using the GUI difftool:
$ git pr show -t 6764
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/6764.diff