-
Notifications
You must be signed in to change notification settings - Fork 8
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 #3
Conversation
👋 Welcome back kuaiwei! A progress list of the required criteria for merging this PR into |
Hi, we need to make sure it does not break other ports. So please fix the jcheck errors and then go to https://github.com/kuaiwei/riscv-port-jdk11u/actions and enable GHA workflows. |
Webrevs
|
Hi, Thanks for the comment. I found you changed cross build config in #1 .May I cherry pick it or wait for its integration? |
Looks like GHA for jdk11u-dev upstream are currently failing. I plan to do some merging for #1 when the issue is fixed. I think #1 should come after your current PR. So you should not depend on it. BTW: I think your current PR should be made a backport of JDK-8276799. So you should change the PR title into something like: "Backport 5905b02c0e2643ae8d097562f181953f6c88fc89". And let the bot do the rest. Reference: https://wiki.openjdk.org/display/JDKUpdates/How+to+contribute+or+backport+a+fix |
Seems that I can not do a native build on hifive unmatched with PS: And we should add RISC-V code for https://bugs.openjdk.org/browse/JDK-8313796 which has just been backported to jdk11u-dev |
I built the jdk on qemu with gcc10. I will check if it can be built with other gcc version. |
The new commit 1b8778b fixed gcc compilation error. I can built fastdebug image with gcc13 and "--disable-warnings-as-errors" option. |
JDK-8234562: Move OrderAccess::release_store*/load_acquire to Atomic JDK-8234736: Harmonize parameter order in Atomic - store JDK-8234737: Harmonize parameter order in Atomic - add JDK-8234740: Harmonize parameter order in Atomic - cmpxchg JDK-8234739: Harmonize parameter order in Atomic - xchg JDK-8236778: Add Atomic::fetch_and_add
…k word value carrier
JDK-8239895: assert(_stack_base != 0LL) failed: Sanity check JDK-8238988: Rename thread "in stack" methods and add in_stack_range JDK-8234372: Investigate use of Thread::stack_base() and queries for "in stack" JDK-8203481: Incorrect constraint for unextended_sp in frame:safe_for_sender
…nge the register t1->t0
… and consolidation
…not handled gracefully
Hi, Maybe you forgot to add issue: 8282306, 8301313, 8308277, 8310873 |
So finally and in summary, is adding issues P.S. Please feel free to reply at any time, also fine after next week, i.e. after the holiday. Happy Lunar New Year. |
Thank you for your reply, I checked again and you are right. Happy Lunar New Year! |
/issue remove 8243155,8202976 |
/issue add 8291952,8308277,8282306 |
@kuaiwei Removing additional issue from issue list: |
@kuaiwei Adding additional issue to issue list: Adding additional issue to issue list: |
@kuaiwei : I think the correct way to fix those Clhsdb test failure is to backport fix for https://bugs.openjdk.org/browse/JDK-8307955. I see they are passing with the following backport patch: |
It's a platform independent change. Do we need backport it to jdk11u upstream? I can pass CLHSDB tests by changing sys parameter. sysctl -w kernel.yama.ptrace_scope=1 |
Yeah, I think you are right. It's better to fix that in 11u upstream and merge to this repo. |
Hi, I tested minecraft server, netbeans with this patch and everything works fine. |
@kuaiwei : We should list @zhengxiaolinX as co-author of this PR. You can use [1] https://wiki.openjdk.org/display/SKARA/Pull+Request+Commands#PullRequestCommands-/contributor |
/contributor @zhengxiaolinX |
@kuaiwei Syntax:
User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address. |
/contributor add @zhengxiaolinX |
@kuaiwei |
@kuaiwei This change now passes all automated pre-integration checks. 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 59 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 |
Still test good on latest riscv-port branch of the repo. Let's get this merged. |
Going to push as commit 309291f.
Your commit was automatically rebased without conflicts. |
@RealFYang @kuaiwei Pushed as commit 309291f. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
It's the initial patch based on the JDK19 initial load openjdk/jdk@5905b02, and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated.
Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX .
Progress
Issues
Reviewers
Contributors
<xlinzheng@openjdk.org>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/riscv-port-jdk11u.git pull/3/head:pull/3
$ git checkout pull/3
Update a local copy of the PR:
$ git checkout pull/3
$ git pull https://git.openjdk.org/riscv-port-jdk11u.git pull/3/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3
View PR using the GUI difftool:
$ git pr show -t 3
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/riscv-port-jdk11u/pull/3.diff
Webrev
Link to Webrev Comment