From sanhong.lsh at alibaba-inc.com Wed Mar 3 13:09:26 2021 From: sanhong.lsh at alibaba-inc.com (=?UTF-8?B?5p2O5LiJ57qiKOS4iee6oik=?=) Date: Wed, 03 Mar 2021 21:09:26 +0800 Subject: =?utf-8?Q?=E7=AD=94=E5=A4=8D:_openjdk_riscv64_port?= In-Reply-To: <47cba351-1c22-6f2c-13f3-a9fc46e5c926@huawei.com> References: <4da80e7f-0de5-1fde-d3bb-c882727ffabf@redhat.com> <9a9b6b4ef77f4e45ad76c10726f3c05b@huawei.com> <00a301d706bb$c84b2d60$58e18820$@alibaba-inc.com> <47cba351-1c22-6f2c-13f3-a9fc46e5c926@huawei.com> Message-ID: <038c01d7102e$708df310$51a9d930$@alibaba-inc.com> Hi all, We have created a risc-v port branch [1] in the jdk-sandbox [2]. @Yadong Wang, you guys can push the changes into this branch, and we can start the collaboration based on this shared repo:) [1] https://github.com/openjdk/jdk-sandbox/tree/riscv-port-branch [2] https://github.com/openjdk/jdk-sandbox Thanks! Sanhong -----????----- ???: Yadong Wang ????: 2021?2?20? 15:11 ???: ???(??) ; porters-dev at openjdk.java.net; edward.nevill at gmail.com ??: Re: openjdk riscv64 port 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. > > . > From yadonn.wang at huawei.com Thu Mar 4 10:43:56 2021 From: yadonn.wang at huawei.com (Yadong Wang) Date: Thu, 4 Mar 2021 18:43:56 +0800 Subject: openjdk riscv64 port In-Reply-To: <038c01d7102e$708df310$51a9d930$@alibaba-inc.com> References: <4da80e7f-0de5-1fde-d3bb-c882727ffabf@redhat.com> <9a9b6b4ef77f4e45ad76c10726f3c05b@huawei.com> <00a301d706bb$c84b2d60$58e18820$@alibaba-inc.com> <47cba351-1c22-6f2c-13f3-a9fc46e5c926@huawei.com> <038c01d7102e$708df310$51a9d930$@alibaba-inc.com> Message-ID: <673ebec1-03d2-2226-71d1-2453e762694a@huawei.com> Hi Sanhong, Nice. We are porting the riscv64 backend to jdk/jdk.There should be a initial patch comming up soon. Best Regards, Yadong > On 3/3/2021 9:09 PM, lisanhong wrote: > Hi all, > We have created a risc-v port branch [1] in the jdk-sandbox [2]. > @Yadong Wang, you guys can push the changes into this branch, and we can start the collaboration based on this shared repo:) > > [1] https://github.com/openjdk/jdk-sandbox/tree/riscv-port-branch > [2] https://github.com/openjdk/jdk-sandbox > > Thanks! > Sanhong > > On 2021/2/20 15:11, wangyadong wrote: > > 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. >> >> . >> > > . >