This patch is reorganizing the code to split `get_processor_features()` into 
multiple helper functions. Details are present in the issue 
https://bugs.openjdk.org/browse/JDK-8380448.
It should not change the behavior of any VM flag, except 
`UseVectorizedHashCodeIntrinsic`. The earlier code always set 
`UseVectorizedHashCodeIntrinsic` to `true` if UseAVX >= 2. That means 
specifying `-XX:-UseVectorizedHashCodeIntrinsic` on command line wouldn't 
disable use of this intrinsic. This looks like a bug and has been fixed in this 
patch.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Minor updates
 - 8380448: Split VM_Version::get_processor_features() in vm_version_x86.cpp 
into multiple helper routines

Changes: https://git.openjdk.org/jdk/pull/31301/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31301&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8380448
  Stats: 1040 lines in 4 files changed: 393 ins; 392 del; 255 mod
  Patch: https://git.openjdk.org/jdk/pull/31301.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31301/head:pull/31301

PR: https://git.openjdk.org/jdk/pull/31301

Reply via email to