With plans to add more stubs (see https://bugs.openjdk.org/browse/JDK-8372617) and compiled code in the AOTCodeCache in the near future, it is essential to ensure the runtime env supports the same cpu capabilities as the env where the AOTCodeCache is created (that is the assembly phase). This feature is already present in the premain branch of leyden repo (https://github.com/openjdk/leyden/pull/84). This issue is to add the same changes to the mainline to prepare for future changes.
Note that the premain branch currently allows the cpu feature set in runtime env to be a super set of that of the assembly phase. This may change in future if we decide to ensure the cpu feature set of the runtime env should exactly match with that of the assembly phase.
Note that the premain branch currently allows the cpu feature set in runtime env to be a super set of that of the assembly phase. This may change in future if we decide to ensure the cpu feature set of the runtime env should exactly match with that of the assembly phase.
- relates to
-
JDK-8377630 Restrict AOT code to a generic set of CPU features
-
- Open
-
- links to
-
Review(master)
openjdk/jdk/29655