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
8276799: Implementation of JEP 422: Linux/RISC-V Port #1
Conversation
…ith async profiler
👋 Welcome back yadongwang! A progress list of the required criteria for merging this PR into |
Love to see this! How has it been tested? I'm happy to submit some changes to this riscv-port branch to add testing for tier1 on GHA if that's any help (similar to https://github.com/rivosinc/jdk/actions/runs/4028920698). |
@luhenry : That sounds great. It's nice if we could have some basic tier1 testing enabled for this branch on GHA. |
Tier1 tests are running on unmatched boards, and a full jtreg tests are running with Qemu. Happy to see more tests, and some failures may be related to existed issues. |
Ok, I'll work on submitting a PR tomorrow. It'll be limited to |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
Hello it was really critical for risc-v and some jni stress tests from vmtestBase/hotspot:tier4 was failing JDK17 ready backport can be used from syntacore/syntaj17@2053a4b |
Let me share some of the testing results carried out on my unmatched boards:
|
I think that deserves another seperate backporting PR after this one? I see the robot is trying to link each backporting PR with the original issue. So it might not be a good idea to put serveral seperate fixes together into one backporting PR. But the following two changes included in this PR are kind of special as they are needed for a successfull build: |
Last time I was backporting JEP ( openjdk/jdk11u-dev#715 ) it was ok. Just order scara-bot few commands /issue 8282306 , /issue 8282477. |
Hmm, I think that might be a good way when we are doing the final upstreaming. For now, I still prefer to keep a simple/clean relationship between a backporting PR and the corresponding issue unless there is a special reason for this staging repo. |
/issue 8282306 |
/issue 8282477 |
@yadongw |
@yadongw |
So I have finished the aforementioned tests on my unmatched boards. PS: The tests also expose several build/test issues that should be resolved by backporting other fixes.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine from the cursory review.
@yadongw This pull request has not yet been marked as ready for integration. |
This PR backports the implementation of RISC-V port into jdk17u.
It based on the initial implementation of JEP-422 with some modifications for jdk17u:
8276799: Implementation of JEP 422: Linux/RISC-V Port
revert 8277417: C1 LIR instruction for load-klass
revert 8278387: Implement UseHeavyMonitors consistently
revert 8227369: pd_disjoint_words_atomic() needs to be atomic
revert 8258192: Obsolete the CriticalNatives flag
revert 8281632: riscv: Improve interpreter stack banging
revert 8283364: Intrinsify countPositives
enable the biased locking
isolate modification to other platforms
8282306: os::is_first_C_frame(frame*) crashes on invalid link access
8282477: vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/riscv-port-jdk17u pull/1/head:pull/1
$ git checkout pull/1
Update a local copy of the PR:
$ git checkout pull/1
$ git pull https://git.openjdk.org/riscv-port-jdk17u pull/1/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1
View PR using the GUI difftool:
$ git pr show -t 1
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/riscv-port-jdk17u/pull/1.diff