RFR: 8317697: refactor-encapsulate x86 VM_Version::CpuidInfo
Jan Kratochvil
jkratochvil at openjdk.org
Sat Oct 7 17:55:39 UTC 2023
In OpenJDK project CRaC I had a [need to fetch new CpuidInfo without affecting the existing one](https://github.com/openjdk/crac/commit/ed4ad9ba31b77732dcede2eb743b2f389ec9a0fe#diff-6ed856c57ddbe33e49883adb7c52ec51ed377e5f697dfd6d8bea505a97bfc5a5R2743).
Which led me to encapsulate the object more and I think this no-functionality-change patch is even appropriate for JDK.
I am sure interested primarily to reduce the CRaC patchset boilerplate.
-------------
Commit messages:
- 8317697: refactor-encapsulate x86 VM_Version::CpuidInfo
Changes: https://git.openjdk.org/jdk/pull/16093/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16093&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8317697
Stats: 123 lines in 2 files changed: 29 ins; 23 del; 71 mod
Patch: https://git.openjdk.org/jdk/pull/16093.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16093/head:pull/16093
PR: https://git.openjdk.org/jdk/pull/16093
More information about the hotspot-dev
mailing list