RFR: JDK-8301661: Enhance os::pd_print_cpu_info on macOS and Windows [v6]

Matthias Baesken mbaesken at openjdk.org
Tue Feb 21 08:18:30 UTC 2023


On Fri, 17 Feb 2023 08:17:52 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> Enhance os::pd_print_cpu_info on macOS and Windows by information about CPU frequency and caches.
>> On Windows , this info can be obtained by the Processor Power Information API or "powerbase" (CallNtPowerInformation , see https://learn.microsoft.com/en-us/windows/win32/api/powerbase/nf-powerbase-callntpowerinformation ); this is available since Windows Server 2003/XP.
>> On macOS, sysctlbyname can be used.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Rename variables, adjust output, add a break

Hi David and Lutz, thanks for the reviews.

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

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



More information about the build-dev mailing list