RFR: 8377507: Store cpu features in AOTCodeCache [v3]
Vladimir Kozlov
kvn at openjdk.org
Thu Feb 12 20:38:35 UTC 2026
On Thu, 12 Feb 2026 20:13:40 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
>> @ashu-mehra yes, instead of "Available CPU features:" print "Additional available CPU features:" after you print recorded features. Available CPU features printing is good but it is hard to see what is difference from what was recorded.
>> Printing additional features allow to see difference clearly.
>
> I added a log message to print additional runtime features. Now it prints a message like this:
>
>
> [0.034s][debug][aot,codecache,init] CPU features recorded in AOTCodeCache: cx8, cmov, fxsr, mmx, 3dnowpref, sse, sse2, popcnt, lzcnt, tsc, tscinvbit, aes, erms, clmul, bmi1, bmi2, adx, sha, fma, clflush, clflushopt, clwb, serialize, rdtscp, rdpid, fsrm, gfni, pku, ospke, cet_ibt, cet_ss, hybrid
> [0.034s][debug][aot,codecache,init] Additional runtime CPU features: sse3, ssse3, sse4.1, sse4.2, avx, avx2, vzeroupper, f16c
>
>
> Does that look good?
Perfect.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29655#discussion_r2800941762
More information about the hotspot-dev
mailing list