-
Notifications
You must be signed in to change notification settings - Fork 92
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
8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute #366
Conversation
…d if the parking method is not absolute
👋 Welcome back lyang! A progress list of the required criteria for merging this PR into |
@yanglong1010 This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
|
/approval request The |
@yanglong1010 |
Thanks for this well documented backport!! |
/integrate |
@yanglong1010 |
/sponsor |
@DamonFool @yanglong1010 Pushed as commit 2de8cfa. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Thank you all. |
Hi, all
Could I have a review of this backport ? I would be very grateful.
This pull request contains a backport of commit 6f8b0a33fa15f1dfc8b0c116375df0f90d9d8759 from the openjdk/jdk repository.
This backport is clean.
If the parking method is not absolute (the second line of the Java code above), the real value of
until
field in JFR'sjdk.ThreadPark
event isLong.MIN_VALUE
, which will be convert back tojava.time.Instant.MIN
, butjfr view
displays this value as '08:05:43' of my timezone (thePark Until
column above). This is somewhat misleading, better to showN/A
.Testing:
test/jdk/jdk/jfr/tool/TestView.java
test/jdk/jdk/jfr/jcmd/TestJcmdView.java
All passed.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/366/head:pull/366
$ git checkout pull/366
Update a local copy of the PR:
$ git checkout pull/366
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/366/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 366
View PR using the GUI difftool:
$ git pr show -t 366
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/366.diff
Webrev
Link to Webrev Comment