[riscv-port-jdk11u:riscv-port] RFR: 8314420: Implementation of JEP 422: Linux/RISC-V Port [v3]

Fei Yang fyang at openjdk.org
Thu Aug 24 06:32:06 UTC 2023


On Tue, 22 Aug 2023 09:17:24 GMT, kuaiwei <duke at openjdk.org> wrote:

>> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , 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 .
>> 
>> - [x]  slowdebug/fastdebug/release build
>> - [x] Benchmark: SPECJbb2015, Renaissance
>> - [ ]  Tier1 tests
>> - [ ] Tier2 tests
>> - [ ] Tier3 tests
>> - [ ] Tier4 tests
>
> kuaiwei has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 129 additional commits since the last revision:
> 
>  - Build with gcc 13
>  - Save all call-clobbered registers for spark tests may crash
>  - Misc adaptations to jdk11u
>  - Revert JDK-8213436: Obsolete UseMembar && JDK-8188764: Obsolete AssumeMP and then remove all support for non-MP builds, always enabled
>  - Revert:
>    JDK-8243208: Clean up JVMFlag implementation
>    JDK-8236625: Remove writeable macro from JVM flags declaration
>  - Revert JDK-8220049: Obsolete ThreadLocalHandshakes
>  - Revert JDK-8272873: C2: Inlining should not depend on absolute call site counts
>  - Revert JDK-8220051: Remove global safepoint code
>  - Revert JDK-8222637: Obsolete NeedsDeoptSuspend
>  - Revert:
>    JDK-8246689: Enable independent compressed oops/class ptrs on Aarch64
>    JDK-8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390)
>  - ... and 119 more: https://git.openjdk.org/riscv-port-jdk11u/compare/91024417...1b8778b0

> > > Seems that I can not do a native build on hifive unmatched with `--disable-precompiled-headers` or without `--disable-warnings-as-errors`. The GCC version is `gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)`. Please have a look.
> > > 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. For JDK-8313796, I will add it to backport patch list. Thanks for your suggestion.
> 
> The new commit [1b8778b](https://github.com/openjdk/riscv-port-jdk11u/commit/1b8778b0831571e9ac688bbd22afca4cf8f62407) fixed gcc compilation error. I can built fastdebug image with gcc13 and "--disable-warnings-as-errors" option.

Thanks for fixing this. Please go to https://github.com/kuaiwei/riscv-port-jdk11u/actions and enable GHA workflows. We need to make sure it does not break the other ports.

-------------

PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1691079411


More information about the riscv-port-dev mailing list