Skip to content

8382878: RISC-V: Missing InlineSkippedInstructionsCounter in ZGC barriers stubs#30893

Closed
zifeihan wants to merge 1 commit into
openjdk:masterfrom
zifeihan:JDK-8382878
Closed

8382878: RISC-V: Missing InlineSkippedInstructionsCounter in ZGC barriers stubs#30893
zifeihan wants to merge 1 commit into
openjdk:masterfrom
zifeihan:JDK-8382878

Conversation

@zifeihan

@zifeihan zifeihan commented Apr 23, 2026

Copy link
Copy Markdown
Member

Hi, Please review this small change.
I happened to find some InlineSkippedInstructionsCounters are missing in ZGC barriers stubs.
This may affect performance in certain cases [1]. So this adds them back just like other CPU platforms.
Testing: hs:tier1 - hs:tier3 using fastdebug build on linux-riscv64 platforms.

[1] https://bugs.openjdk.org/browse/JDK-8333226



Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Issue

  • JDK-8382878: RISC-V: Missing InlineSkippedInstructionsCounter in ZGC barriers stubs (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/30893/head:pull/30893
$ git checkout pull/30893

Update a local copy of the PR:
$ git checkout pull/30893
$ git pull https://git.openjdk.org/jdk.git pull/30893/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 30893

View PR using the GUI difftool:
$ git pr show -t 30893

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/30893.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Apr 23, 2026

Copy link
Copy Markdown

👋 Welcome back gcao! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk

openjdk Bot commented Apr 23, 2026

Copy link
Copy Markdown

@zifeihan 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:

8382878: RISC-V: Missing InlineSkippedInstructionsCounter in ZGC barriers stubs

Reviewed-by: fyang, dzhang

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 28 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@RealFYang, @DingliZhang) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk Bot added the hotspot hotspot-dev@openjdk.org label Apr 23, 2026
@openjdk

openjdk Bot commented Apr 23, 2026

Copy link
Copy Markdown

@zifeihan The following label will be automatically applied to this pull request:

  • hotspot

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.

@openjdk

openjdk Bot commented Apr 23, 2026

Copy link
Copy Markdown

The total number of required reviews for this PR has been set to 2 based on the presence of this label: hotspot. This can be overridden with the /reviewers command.

@openjdk openjdk Bot added the rfr Pull request is ready for review label Apr 23, 2026
@mlbridge

mlbridge Bot commented Apr 23, 2026

Copy link
Copy Markdown

Webrevs

@RealFYang RealFYang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. Thanks for finding this.

@DingliZhang DingliZhang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@openjdk openjdk Bot added the ready Pull request is ready to be integrated label Apr 24, 2026
@zifeihan

Copy link
Copy Markdown
Member Author

Thanks all for the review.
/integrate

@openjdk openjdk Bot added the sponsor Pull request is ready to be sponsored label Apr 24, 2026
@openjdk

openjdk Bot commented Apr 24, 2026

Copy link
Copy Markdown

@zifeihan
Your change (at version d1b60e2) is now ready to be sponsored by a Committer.

@RealFYang

Copy link
Copy Markdown
Member

/sponsor

@openjdk

openjdk Bot commented Apr 24, 2026

Copy link
Copy Markdown

Going to push as commit 19ffa60.
Since your change was applied there have been 28 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk Bot added the integrated Pull request has been integrated label Apr 24, 2026
@openjdk openjdk Bot closed this Apr 24, 2026
@openjdk openjdk Bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Apr 24, 2026
@openjdk

openjdk Bot commented Apr 24, 2026

Copy link
Copy Markdown

@RealFYang @zifeihan Pushed as commit 19ffa60.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotspot hotspot-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants