8285699: riscv: Provide information when hitting a HaltNode#8442
8285699: riscv: Provide information when hitting a HaltNode#8442yadongw wants to merge 3 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back yadongwang! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
@yadongw 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 39 new commits pushed to the
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) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/integrate |
|
/sponsor |
|
Going to push as commit 94b533a.
Your commit was automatically rebased without conflicts. |
|
@RealFYang @yadongw Pushed as commit 94b533a. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
The code generated in MacroAssembler::stop is indeed grossly bloated with pusha()/popa() and a native call. We would like to follow the implementation in aarch64 port JDK-8245986, and provide a halt reason when hitting a C2 HaltNode on riscv, and implement it by triggering illegal instruction exceptions.
hs_err_pid log BEFORE:
hs_err_pid log AFTER:
This patch passes hotspot and jdk tiere1 on unmatched, and all jtreg tests are tested on Qemu without new failures.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8442/head:pull/8442$ git checkout pull/8442Update a local copy of the PR:
$ git checkout pull/8442$ git pull https://git.openjdk.java.net/jdk pull/8442/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8442View PR using the GUI difftool:
$ git pr show -t 8442Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8442.diff