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

Jie Fu jiefu at openjdk.org
Sun Jan 4 03:38:56 UTC 2026


On Fri, 12 Sep 2025 01:49:23 GMT, Vic Wang <duke at openjdk.org> wrote:

> Here is the patch that improving the UseAVX setting and add cpu descriptions for zhaoxin processors.
> Can you help to review this patch?
> Thank you!

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.

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

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


More information about the hotspot-dev mailing list