RFR: Store cpu features in AOTCodeCache header

Ashutosh Mehra asmehra at openjdk.org
Tue Jul 29 16:48:16 UTC 2025


On Tue, 29 Jul 2025 13:55:27 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> I was merely indicating that the changes you made in vm_version_linux_aarch64.cpp are not simply able to be reapplied to vm_version_bsd_aarch64.cpp because the latter file checks things very differently.

> In particular, it bypasses a lot of the hardware checks on the assumption that this must be apple hardware (perhaps a questionable thing to rely on).

Right, I see what you are saying. It just sets some of the features unconditionally.
But whether it is correct or not shouldn't affect this PR. I don't intend to change any of that behavior.

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

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


More information about the leyden-dev mailing list