Integrated: JDK-8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Matthias Baesken
mbaesken at openjdk.org
Tue Feb 21 08:21:42 UTC 2023
On Fri, 3 Feb 2023 08:25:09 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.
This pull request has now been integrated.
Changeset: 91456703
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9145670354c41381614877aa71895dc2bd5cce9d
Stats: 87 lines in 3 files changed: 84 ins; 0 del; 3 mod
8301661: Enhance os::pd_print_cpu_info on macOS and Windows
Reviewed-by: ihse, lucy, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/12403
More information about the build-dev
mailing list