Linux riscv and jdk17

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Wed May 18 08:01:50 UTC 2022


Hi,

The RISC-V port basically fulfils the criteria for a 
non-bugfix backport.  It brings jdk17 to a new 
platform. So you are welcome to address the backport.

I had a quick look at the backport in the repo you mentioned.
You also mention the testing you did. 
For a backport it is especially important you do not break
existing platforms, so you need to run and communicate tests
of the existing platforms.
There are quite some changes to c1_LIR.cpp and the corresponding
platform files. I see these critical for a backport.
Is there a way to implement the port -- maybe a bit 
less performant -- but without these changes? It would have been 
great if this had been an isolated change in head. 
Alternatively these changes could be protected by #ifdef RISCV in the 
shared code, similar to the way Shenandoah was brought to 
jdk11u, but this is not a nice solution.
There are quite some changes to the serviceability agent. 
I think these are less critical as it is not in the core of the VM.

Best regards,
  Goetz.


> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> On
> Behalf Of wangyadong (E)
> Sent: Tuesday, May 17, 2022 5:14 PM
> To: jdk-updates-dev <jdk-updates-dev at openjdk.java.net>
> Subject: RE: Linux riscv and jdk17
> 
> Hi,
> 
> Friendly reminder.
> 
> I'm maintaining the RISC-V port of jdk.
> Is the maintainer of jdk17u interested in getting it to support RISC-V?
> 
> Yadong
> 
> -----Original Message-----
> From: wangyadong (E)
> Sent: Friday, April 22, 2022 3:57 PM
> To: 'Vladimir Kempik' <vladimir.kempik at jetbrains.com>; jdk-updates-dev
> <jdk-updates-dev at openjdk.java.net>
> Subject: RE: Linux riscv and jdk17
> 
> Hi,
> > I would like to know the opinion of openjdk17u maintainer about possible
> backport of JEP 422: Linux/RISC-V Port [1] to jdk17u.
> I'd like to know, too. And I know a lot of people are interested in it.
> 
> Actually, I have made a 17u backport version of implementation of JEP 422
> recently, in https://github.com/yadongw/jdk17u-dev/tree/backport-riscv-
> port .
> It has passed the tier 1 on the unmatched and the rest of tests on Qemu.
> 
> Best Regards,
> Yadong
> 
> -----Original Message-----
> From: jdk-updates-dev [mailto:jdk-updates-dev-retn at openjdk.java.net] On
> Behalf Of Vladimir Kempik
> Sent: Friday, April 22, 2022 3:26 PM
> To: jdk-updates-dev <jdk-updates-dev at openjdk.java.net>
> Subject: Linux riscv and jdk17
> 
> Hello
> I would like to know the opinion of openjdk17u maintainer about possible
> backport of JEP 422: Linux/RISC-V Port [1] to jdk17u.
> Not that I have any immediate plans for it.
> Regards, Vladimir.
> 
> [1] https://openjdk.java.net/jeps/422


More information about the jdk-updates-dev mailing list