Question about supporting aot on other platforms (RISC-V)
Hamlin Li
hamlin at rivosinc.com
Thu Jul 10 11:21:05 UTC 2025
Hi,
I'm trying to apply changes related to aot on riscv (first step is
https://github.com/openjdk/jdk/pull/26101, also plan to apply further
changes in the future gradually).
As Andrew suggested in the pr, there will be more changes (especially
related to code save/restore) from leyden premain to mainline.
I went through the pr's and discussion of leyden, found out several changes
might be platform related:
1. Store cpu features in AOTCodeCache header (
https://github.com/openjdk/leyden/pull/84 ) (Open)
2. AOT code generation should support UseCompactObjectHeaders (
https://github.com/openjdk/leyden/pull/78 ) (committed into premain)
I think in the short future, these above pr's are going to get into
mainline. But I might overlook some pr's or discussions,
Besides of these above pr's, are there any other potential changes or
discussions I should pay attention to when I try to support aot on riscv?
I asked the questions to make sure after I integrate
https://github.com/openjdk/jdk/pull/26101, even if more leyden changes are
merged (including the above ones) into mainline, I can still make aot work
as expected on riscv quickly, rather than break aot things for a long time,
i.e. hope no surprise in the progress.
Thank you
-Hamlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/leyden-dev/attachments/20250710/68b87f7e/attachment.htm>
More information about the leyden-dev
mailing list