RFR: 8360000: RISC-V: implement aot [v2]

Hamlin Li mli at openjdk.org
Tue Jul 8 11:19:43 UTC 2025


On Mon, 7 Jul 2025 12:29:44 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> Hamlin Li has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - pass msg via a0 in stop
>>  - comment
>
> @Hamlin-Li @RealFYang I think it might be better to discuss this with on the leyden-dev mailing list before trying to implement the changes needed to match what has been done for AArch64 and x86_64. One good reason for caution is that the Leyden premain project is planning to add further code save/restore capabilities to mainline that have already been prototyped in the Leyden premain branch. So, if you enable AOT code cache initialization for RISCV then you will need to be able/ready to provide all the other parts of the implementation when they arrive.
> 
> It might be safer to implement what is needed in premain (or in a downstream clone) after discussing both what is needed and why it is needed with the Leyden devs. It would also help if you were to use the testing and benchmark programs that the project is using to check that the aot code cache is working correctly and actually boosting performance.

@adinn Thank you for the suggestion, I'll check the premain in leyden.

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

PR Comment: https://git.openjdk.org/jdk/pull/26101#issuecomment-3048484926


More information about the hotspot-dev mailing list