RFR: 8372942: AArch64: Set JVM flags for Neoverse V3AE core
Ruben
duke at openjdk.org
Sat Jan 17 05:44:00 UTC 2026
On Wed, 14 Jan 2026 09:02:33 GMT, Andrew Haley <aph at openjdk.org> wrote:
> I only see one here, the model_is.
The `model_is` checks two values: `_model` and `_model2` - https://github.com/openjdk/jdk/blob/0dd5b59194f32f54c2ec6572833f45e1402515ba/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp#L181
The switch statement would have to happen for both of these.
> Maybe, if it's made as simple as possible.
I'm thinking of `bool is_model_any_of(std::initializer_list<int> list)` which would iterate over the list and call `model_is` for each candidate; and also adding names for the model identifiers similarly to this list - https://github.com/openjdk/jdk/blob/0dd5b59194f32f54c2ec6572833f45e1402515ba/src/hotspot/cpu/aarch64/vm_version_aarch64.hpp#L115
>> Would you like this to be changed within this PR?
> I think so.
I'm going to be away for a week - returning on the 26th of January.
I am planning to update this PR during the week I return.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28607#issuecomment-3762702084
More information about the hotspot-dev
mailing list