RFR: 8367478: Improve UseAVX setting and add cpu descriptions for zhaoxin processors [v3]

Vic Wang duke at openjdk.org
Mon Jan 5 01:00:07 UTC 2026


On Sun, 4 Jan 2026 03:36:33 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> Vic Wang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision:
>> 
>>  - Move cpu_model_id to the zx-specific if branch.
>>  - Improve UseAVX setting and add cpu descriptions for zhaoxin processors.
>
> src/hotspot/cpu/x86/vm_version_x86.cpp line 2603:
> 
>> 2601: const char* VM_Version::cpu_family_description(void) {
>> 2602:   int cpu_family_id = extended_cpu_family();
>> 2603:   int cpu_model_id = extended_cpu_model();
> 
> If `cpu_model_id` is only used by zx, how about moving it after line 2617?
> 
> Also, please merge with the latest code.

Thanks for the suggestion! 
I’ve moved cpu_model_id to the zx-specific if branch after line 2617. And I’ve also merged with the latest code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27241#discussion_r2660059688


More information about the hotspot-dev mailing list