From sanhong.lsh at alibaba-inc.com Fri Feb 19 12:36:01 2021 From: sanhong.lsh at alibaba-inc.com (=?UTF-8?B?5p2O5LiJ57qiKOS4iee6oik=?=) Date: Fri, 19 Feb 2021 20:36:01 +0800 Subject: =?utf-8?Q?=E7=AD=94=E5=A4=8D:_openjdk_riscv64_port?= In-Reply-To: References: <4da80e7f-0de5-1fde-d3bb-c882727ffabf@redhat.com> <9a9b6b4ef77f4e45ad76c10726f3c05b@huawei.com> Message-ID: <00a301d706bb$c84b2d60$58e18820$@alibaba-inc.com> HI Ed, Yadong, In the parallel discussion for the project creation, we may consider using jdk-sandbox [1] as a sharing repo for further community collaboration(e.g. enhancements, bug fixing, etc.)? Also, we can consider generating the OpenJDK RISC-V build based on this repo, I think the people who looked into RISC-V have the interest to try it in their environment. Your thoughts? [1] https://github.com/openjdk/jdk-sandbox Thanks! Sanhong -----????----- ???: porters-dev ?? Yadong Wang ????: 2021?1?8? 17:53 ???: porters-dev at openjdk.java.net ??: Re: openjdk riscv64 port On 2020/12/30 5:02, Edward Nevill wrote: > On Tue, 2020-12-29 at 02:02 +0000, wangyadong (E) wrote: >> Hi, >> We implemented a RV64G port of OpenJDK11u(TemplateInterpreter, C1 and C2) and open source to https://gitee.com/openeuler/bishengjdk-11/tree/risc-v/ . Would the community like to help us to create a project? And then we can promote it stable with the community. >> >> Yadong Wang >> Huawei Technologies Co., Ltd. >> > > Hi, > > In order to progress this a riscv-port project will need to be created. There was an initial attempt to get a riscv-port project started in Feb. 2018 (see https://mail.openjdk.java.net/pipermail/porters-dev/2018-February/thread.html). > > The process for creation of a new OpenJDK project is described at > http://openjdk.java.net/projects/#new-project > > In accordance with the OpenJDK bylaws the initial discussion should be sent to the general discussion list, discuss.at.openjdk.dot.java.dot.net with the subject line "Call for Discussion: New Project: riscv-port". > > However, it may be best to have an initial discussion here on porters-dev before submitting the formal Call for Discussion on discuss. > > The project will need a project lead who must be a Contributor and must be sponsored by a Group Lead. Although technically any Group Lead could sponsor this project, in practice it should be the Group Lead of the porters project, Dalibor Topic. > > All the best, > Ed. > > > . > Thank you, Ed. We read these discussions before we started. And in fact, we started with the Zero-Assembler port based on your initial patch. Now we have an almost complete implementation of riscv port, and then I am willing to perform the project lead. In the past year, I lead our riscv port implementation based on OpenJDK, and wrote the substantial part. More importantly, I have a JVM team of about 30 engineers in Huawei to support me. Although we're new here, we have contributed nearly 90 patches to OpenJDK, and now have 1 reviewer, 1 committer, several authors and a dozen contributors in the community. They are all happy to help me. Also, there are many hardware engineers familiar with riscv with who we can co-worked in our company. We were also actively participated in many riscv isa task groups. About future plans, we first contribute an initial riscv port of jdk11, latest LTS version so far, covering most of mainstream java frameworks, and so we can get more feedback of ecosystem participants. Adequate testing is the first priority, and we can co-worked with AdoptOpenJDK to build and distribute binaries(they contacted us and were willing to offer help), so that interested developers can try them ahead of time. The initial port can be split to 3 patches (TemplateInterpreter, C1 and C2) to be fully reviewed by the reviewers. Meanwhile, the mainline version jdk/jdk is also under development and ready to open source after tested fully on the hardware. By the way, AOT and Graal are not covered currently, and we can make plans as needed. From yadonn.wang at huawei.com Sat Feb 20 07:10:46 2021 From: yadonn.wang at huawei.com (Yadong Wang) Date: Sat, 20 Feb 2021 15:10:46 +0800 Subject: openjdk riscv64 port In-Reply-To: <00a301d706bb$c84b2d60$58e18820$@alibaba-inc.com> References: <4da80e7f-0de5-1fde-d3bb-c882727ffabf@redhat.com> <9a9b6b4ef77f4e45ad76c10726f3c05b@huawei.com> <00a301d706bb$c84b2d60$58e18820$@alibaba-inc.com> Message-ID: <47cba351-1c22-6f2c-13f3-a9fc46e5c926@huawei.com> Sounds like a good idea. I'm fine with that. > HI Ed, Yadong, > In the parallel discussion for the project creation, we may consider using jdk-sandbox [1] as a sharing repo for further community collaboration(e.g. enhancements, bug fixing, etc.)? > Also, we can consider generating the OpenJDK RISC-V build based on this repo, I think the people who looked into RISC-V have the interest to try it in their environment. > Your thoughts? > > [1] https://github.com/openjdk/jdk-sandbox > > Thanks! > Sanhong > > On 2020/12/30 5:02, Edward Nevill wrote: >> On Tue, 2020-12-29 at 02:02 +0000, wangyadong (E) wrote: >>> Hi, >>> We implemented a RV64G port of OpenJDK11u(TemplateInterpreter, C1 and C2) and open source to https://gitee.com/openeuler/bishengjdk-11/tree/risc-v/ . Would the community like to help us to create a project? And then we can promote it stable with the community. >>> >>> Yadong Wang >>> Huawei Technologies Co., Ltd. >>> >> >> Hi, >> >> In order to progress this a riscv-port project will need to be created. There was an initial attempt to get a riscv-port project started in Feb. 2018 (see https://mail.openjdk.java.net/pipermail/porters-dev/2018-February/thread.html). >> >> The process for creation of a new OpenJDK project is described at >> http://openjdk.java.net/projects/#new-project >> >> In accordance with the OpenJDK bylaws the initial discussion should be sent to the general discussion list, discuss.at.openjdk.dot.java.dot.net with the subject line "Call for Discussion: New Project: riscv-port". >> >> However, it may be best to have an initial discussion here on porters-dev before submitting the formal Call for Discussion on discuss. >> >> The project will need a project lead who must be a Contributor and must be sponsored by a Group Lead. Although technically any Group Lead could sponsor this project, in practice it should be the Group Lead of the porters project, Dalibor Topic. >> >> All the best, >> Ed. >> >> >> . >> > > Thank you, Ed. We read these discussions before we started. And in fact, we started with the Zero-Assembler port based on your initial patch. > > Now we have an almost complete implementation of riscv port, and then I am willing to perform the project lead. In the past year, I lead our riscv port implementation based on OpenJDK, and wrote the substantial part. More importantly, I have a JVM team of about 30 engineers in Huawei to support me. Although we're new here, we have contributed nearly 90 patches to OpenJDK, and now have 1 reviewer, 1 committer, several authors and a dozen contributors in the community. They are all happy to help me. Also, there are many hardware engineers familiar with riscv with who we can co-worked in our company. We were also actively participated in many riscv isa task groups. > > About future plans, we first contribute an initial riscv port of jdk11, latest LTS version so far, covering most of mainstream java frameworks, and so we can get more feedback of ecosystem participants. Adequate testing is the first priority, and we can co-worked with AdoptOpenJDK to build and distribute binaries(they contacted us and were willing to offer help), so that interested developers can try them ahead of time. > The initial port can be split to 3 patches (TemplateInterpreter, C1 and > C2) to be fully reviewed by the reviewers. > > Meanwhile, the mainline version jdk/jdk is also under development and ready to open source after tested fully on the hardware. > > By the way, AOT and Graal are not covered currently, and we can make plans as needed. > > . >