Backports to jdk11u and jdk17u
zhangxiang at iscas.ac.cn
Mon Jan 16 13:33:24 UTC 2023
I'm Xiang Zhang from the Institute of Software, Chinese Academy of Sciences. I'm backporting jdk8u for RISC-V support. Here is my development repository:
The current branch for template interpreter backporting is:
As far as the current progress is concerned, the interpreter has been successfully ported.
For example, I can successfully run "Hello World" under -Xint.
I am currently testing benchmark workloads like dacapo and SPECjvm2008.
My next step is to backport C1&C2 and I'm debugging related code for porting C1&C2.
> 发件人: yangfei at iscas.ac.cn
> 发送时间: 2023-01-16 19:31:29 (星期一)
> 收件人: "Ludovic Henry" <ludovic at rivosinc.com>
> 抄送: riscv-port-dev at openjdk.org, yadonn.wang at huawei.com, zhangxiang at iscas.ac.cn
> 主题: Re: Backports to jdk11u and jdk17u
> In fact, there were some discussions before on the list about the backporting work .
> AFAIK, developers from Huawei already have workable versions of jdk11u & jdk17u on Linux/RISCV platform.
> So I guess the rest of the work should be upstreaming. I think Yadong Wang from Huawei should have more details about that?
> Regarding backports to jdk8u, I also wonder whether users are interested to deploy jdk8u on riscv.
> Xiang Zhang from ISCAS (Institute of Software, Chinese Academy of Sciences) is currently working on backporting to jdk8u
> and has achieved some progress. But let me try to get the people involved in this discussion and see.
>  https://mail.openjdk.org/pipermail/jdk-updates-dev/2022-May/014391.html
> -----Original Messages-----
> From:"Ludovic Henry" <ludovic at rivosinc.com>
> Sent Time:2023-01-16 18:04:22 (Monday)
> To: riscv-port-dev at openjdk.org
> Subject: Backports to jdk11u and jdk17u
> As we are seeing more and more adoption of RISC-V, there is a growing need for users to have access to more versions of Java available on RISC-V. Many organizations are still using Java 11 and Java 17 in production and it would be great to have RISC-V support available for them too. This would allow them to take advantage of the benefits that RISC-V offers by making their codebase more portable.
> Taking a similar approach to AArch64 backports to JDK8u , we would want to create the openjdk/riscv-port-jdk11u and openjdk/riscv-port-jdk17u repositories on GitHub. Additionally, we can work with the maintainers of the JDK 11u  and JDK 17u  projects to ensure there is a possible path to getting it merged.
> Some questions which I'm not sure about yet:
> - Is there a need to backport to JDK 8u?
> - What is the engineering cost of the divergence between JDK8u and JDK head for the backporting effort?
> Looking forward to your feedback,
> Thank you,
>  https://hg.openjdk.java.net/aarch64-port/jdk8u
>  https://wiki.openjdk.org/display/JDKUpdates/JDK11u#JDK11u-maintainersMaintainers
>  https://wiki.openjdk.org/display/JDKUpdates/JDK+17u#JDK17u-maintainers
> </ludovic at rivosinc.com>
</ludovic at rivosinc.com>
More information about the riscv-port-dev