[riscv-port-jdk17u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port

Fei Yang fyang at openjdk.org
Sun Feb 12 12:28:02 UTC 2023


On Tue, 7 Feb 2023 13:44:50 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>> This PR backports the implementation of RISC-V port into jdk17u. 
>> 
>> It based on the initial implementation of JEP-422 with some modifications for jdk17u:
>> 1.	The initial patch
>>     8276799: Implementation of JEP 422: Linux/RISC-V Port
>> 2.	 remove features that do not belong to jdk17u
>>     revert 8277417: C1 LIR instruction for load-klass
>>     revert 8278387: Implement UseHeavyMonitors consistently
>>     revert 8227369: pd_disjoint_words_atomic() needs to be atomic
>>     revert 8258192: Obsolete the CriticalNatives flag
>>     revert 8281632: riscv: Improve interpreter stack banging
>>     revert 8283364: Intrinsify countPositives
>> 3.	add features that belongs to jdk17u
>>     enable the biased locking
>> 4.	 Wrap modifications to shared code under RISCV and revert changes to other platforms
>> isolate modification to other platforms
>> 5.	Patches for making compilation pass
>> 8282306: os::is_first_C_frame(frame*) crashes on invalid link access
>> 8282477: vmassert(_last_Java_pc == NULL, "already walkable"); fails with async profiler
>
> Love to see this!
> 
> How has it been tested? I'm happy to submit some changes to this riscv-port branch to add testing for tier1 on GHA if that's any help (similar to https://github.com/rivosinc/jdk/actions/runs/4028920698).

@luhenry : That sounds great. It's nice if we could have some basic tier1 testing enabled for this branch on GHA.
PS: I believe Yadong is still testing patch and I am also trying this on my Unmatched board.

-------------

PR: https://git.openjdk.org/riscv-port-jdk17u/pull/1


More information about the riscv-port-dev mailing list