JDK-8360000 : RISC-V: implement basic aot
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • CPU: riscv
  • Submitted: 2025-06-19
  • Updated: 2025-09-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
https://openjdk.org/jeps/483 introduced aot (class loading/linking)
and subsequent prs introduced more features related to it, like preserve adapters(c2i/i2c) and runtime blobs in AOT code cache.

Riscv should support these features and resolve relative issues.

Draft implementation shows following perf data with the simplest Hello world java program:
(with patch):      0.181730 +- 0.000296 seconds time elapsed  ( +-  0.16% )
(without patch): 0.196627 +- 0.000227 seconds time elapsed  ( +-  0.12% )
(jdk-24.0.1):       0.218463 +- 0.000318 seconds time elapsed  ( +-  0.15% )
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26101 Date: 2025-07-02 17:14:26 +0000
02-07-2025