RFR: Store cpu features in AOTCodeCache header

Ashutosh Mehra asmehra at openjdk.org
Tue Jul 29 12:04:22 UTC 2025


On Tue, 8 Jul 2025 10:52:37 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

>> It can be a future extension but Leyden may also find useful an equivalent of `-XX:CPUFeatures=generic` so that you can store the data on any machine and restore it also on any machine - limiting the CPU feature set in all runs to some reasonable minimum.
>
>> It can be a future extension but Leyden may also find useful an equivalent of -XX:CPUFeatures=generic so that you can store the data on any machine and restore it also on any machine - limiting the CPU feature set in all runs to some reasonable minimum.
> 
> We have discussed such an option in dev team meetings. We are still considering what would be the most useful and/or usable model.

I think I have missed changes for macos-aarch64 combination. I think I need to update `os_cpu/bsd_aarch64/vm_version_bsd_aarch64.cpp` for macos-aarch64, right @adinn @vnkozlov ?

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

PR Comment: https://git.openjdk.org/leyden/pull/84#issuecomment-3132155930


More information about the leyden-dev mailing list