8387407: AARCH: use CNTVCTSS_EL0 as fast unordered timestamp source for JFR#31720
8387407: AARCH: use CNTVCTSS_EL0 as fast unordered timestamp source for JFR#31720bulasevich wants to merge 1 commit into
Conversation
|
👋 Welcome back bulasevich! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@bulasevich The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
AArch64 processors with FEAT_ECV (Armv8.6+) expose a self-synchronized counter via the CNTVCTSS_EL0 register, which can serve as a low-overhead timestamp source for JFR. Added cntvctss_aarch64.cpp/hpp that reads CNTVCTSS_EL0 and mirrors the x86 Rdtsc interface. Reduces JFR event commit latency on AArch64 with FEAT_ECV, replacing clock_gettime with a direct register read.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31720/head:pull/31720$ git checkout pull/31720Update a local copy of the PR:
$ git checkout pull/31720$ git pull https://git.openjdk.org/jdk.git pull/31720/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31720View PR using the GUI difftool:
$ git pr show -t 31720Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31720.diff
Using Webrev
Link to Webrev Comment