<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.FoxDiv20230117080717289841 { }body { font-size: 14px; font-family: "Microsoft YaHei UI"; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>><span style="background-color: transparent;">If there is a riscv-port-jdk8u project, would you be interested to contribute there directly?</span></div><div><span style="background-color: transparent;"><br></span></div><div><span style="background-color: transparent;">Thank you for your proposal! And it would be my honor to contribute to this project.</span></div><div><span style="background-color: transparent;">My next step is to port C1 & C2, I would be happy if more people join this project.</span></div><div><span style="background-color: transparent;"><br></span></div><div><span style="background-color: transparent;">Thanks,</span></div><div><span style="background-color: transparent;">Xiang Zhang</span></div><div><span style="background-color: transparent;"><br></span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>zhangxiang@iscas.ac.cn</div></div></span></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em; margin-Right: inherit"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:ludovic@rivosinc.com">Ludovic Henry</a></div><div><b>Date:</b> 2023-01-16 23:36</div><div><b>To:</b> <a href="mailto:zhangxiang@iscas.ac.cn">章翔</a></div><div><b>CC:</b> <a href="mailto:yangfei@iscas.ac.cn">yangfei</a>; <a href="mailto:riscv-port-dev@openjdk.org">riscv-port-dev</a>; <a href="mailto:yadonn.wang@huawei.com">yadonn.wang</a>; <a href="mailto:jdk-updates-dev@openjdk.java.net">jdk-updates-dev</a></div><div><b>Subject:</b> Re: Re: Backports to jdk11u and jdk17u</div></div></div><div><div class="FoxDiv20230117080717289841"><div dir="ltr">> However there is one big difference between general jdk17u and riscv secific one: while jdk17u accepts only bug fixes and minor perf improvements, the riscv-port-jdk17u will have to accept larger patches: as risc-v port is far from being perfect so far, performance-wise is worse than arm64 port.<div><br></div><div>I expect to initiate the backport in a dedicated openjdk/riscv-port-jdk17u repository for exactly that. Until the riscv port is considered very stable and performant, we likely want to keep it in a separate repository. When stable, we can work with the relevant maintainers of jdk8u, jdk11u and jdk17u for possible integrations.</div><div><br></div><div>> In fact, there were some discussions before on the list about the backporting work [1].</div><div><br></div><div>I missed this one, thanks for pointing it out. </div><div><br></div><div>> 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:</div>> <a href="https://github.com/zhangxiang-plct/jdk8u" rel="noreferrer" target="_blank">https://github.com/zhangxiang-plct/jdk8u</a><div><br></div><div>If there is a riscv-port-jdk8u project, would you be interested to contribute there directly?</div><div><br></div><div>In the meantime, I'll contact skara-dev to figure out what it would take to create the riscv-port-jdk11u and riscv-port-jdk17u repositories.</div><div><br></div><div>Thanks,</div><div>Ludovic</div></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 16, 2023 at 2:33 PM 章翔 <<a href="mailto:zhangxiang@iscas.ac.cn" target="_blank">zhangxiang@iscas.ac.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
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:<br>
<a href="https://github.com/zhangxiang-plct/jdk8u" rel="noreferrer" target="_blank">https://github.com/zhangxiang-plct/jdk8u</a><br>
The current branch for template interpreter backporting is:<br>
<a href="https://github.com/zhangxiang-plct/jdk8u/tree/Fix_javac-temp" rel="noreferrer" target="_blank">https://github.com/zhangxiang-plct/jdk8u/tree/Fix_javac-temp</a><br>
As far as the current progress is concerned, the interpreter has been successfully ported.<br>
For example, I can successfully run "Hello World" under -Xint.<br>
I am currently testing benchmark workloads like dacapo and SPECjvm2008. <br>
My next step is to backport C1&C2 and I'm debugging related code for porting C1&C2.<br>
<br>
Thank you,<br>
Xiang Zhang<br>
<br>
<br>
> -----原始邮件-----<br>
> 发件人: <a href="mailto:yangfei@iscas.ac.cn" target="_blank">yangfei@iscas.ac.cn</a><br>
> 发送时间: 2023-01-16 19:31:29 (星期一)<br>
> 收件人: "Ludovic Henry" <<a href="mailto:ludovic@rivosinc.com" target="_blank">ludovic@rivosinc.com</a>><br>
> 抄送: <a href="mailto:riscv-port-dev@openjdk.org" target="_blank">riscv-port-dev@openjdk.org</a>, <a href="mailto:yadonn.wang@huawei.com" target="_blank">yadonn.wang@huawei.com</a>, <a href="mailto:zhangxiang@iscas.ac.cn" target="_blank">zhangxiang@iscas.ac.cn</a><br>
> 主题: Re: Backports to jdk11u and jdk17u<br>
> <br>
> Hi,<br>
> <br>
> In fact, there were some discussions before on the list about the backporting work [1].<br>
> AFAIK, developers from Huawei already have workable versions of jdk11u & jdk17u on Linux/RISCV platform.<br>
> So I guess the rest of the work should be upstreaming. I think Yadong Wang from Huawei should have more details about that?<br>
> <br>
> Regarding backports to jdk8u, I also wonder whether users are interested to deploy jdk8u on riscv.<br>
> Xiang Zhang from ISCAS (Institute of Software, Chinese Academy of Sciences) is currently working on backporting to jdk8u<br>
> and has achieved some progress. But let me try to get the people involved in this discussion and see. <br>
> <br>
> Thanks,<br>
> Fei<br>
> <br>
> [1] <a href="https://mail.openjdk.org/pipermail/jdk-updates-dev/2022-May/014391.html" rel="noreferrer" target="_blank">https://mail.openjdk.org/pipermail/jdk-updates-dev/2022-May/014391.html</a><br>
> <br>
> <br>
> -----Original Messages-----<br>
> From:"Ludovic Henry" <<a href="mailto:ludovic@rivosinc.com" target="_blank">ludovic@rivosinc.com</a>><br>
> Sent Time:2023-01-16 18:04:22 (Monday)<br>
> To: <a href="mailto:riscv-port-dev@openjdk.org" target="_blank">riscv-port-dev@openjdk.org</a><br>
> Cc: <br>
> Subject: Backports to jdk11u and jdk17u<br>
> <br>
> Hello, <br>
> 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. <br>
> <br>
> <br>
> Taking a similar approach to AArch64 backports to JDK8u [1], 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 [2] and JDK 17u [3] projects to ensure there is a possible path to getting it merged. <br>
> <br>
> Some questions which I'm not sure about yet: <br>
> - Is there a need to backport to JDK 8u? <br>
> - What is the engineering cost of the divergence between JDK8u and JDK head for the backporting effort? <br>
> <br>
> Looking forward to your feedback, <br>
> <br>
> Thank you, <br>
> Ludovic <br>
> <br>
> [1] <a href="https://hg.openjdk.java.net/aarch64-port/jdk8u" rel="noreferrer" target="_blank">https://hg.openjdk.java.net/aarch64-port/jdk8u</a> <br>
> [2] <a href="https://wiki.openjdk.org/display/JDKUpdates/JDK11u#JDK11u-maintainersMaintainers" rel="noreferrer" target="_blank">https://wiki.openjdk.org/display/JDKUpdates/JDK11u#JDK11u-maintainersMaintainers</a> <br>
> [3] <a href="https://wiki.openjdk.org/display/JDKUpdates/JDK+17u#JDK17u-maintainers>" rel="noreferrer" target="_blank">https://wiki.openjdk.org/display/JDKUpdates/JDK+17u#JDK17u-maintainers<br>
></a>; <br>
> <br>
> </<a href="mailto:ludovic@rivosinc.com" target="_blank">ludovic@rivosinc.com</a>><br>
</<a href="mailto:ludovic@rivosinc.com" target="_blank">ludovic@rivosinc.com</a>></blockquote></div>
</div></div></blockquote>
</body></html>