Integrated: 8269175: [macosx-aarch64] wrong CPU speed in hs_err file

Gerard Ziemski gziemski at openjdk.java.net
Mon Oct 18 16:27:55 UTC 2021


On Tue, 12 Oct 2021 20:25:55 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> macOS does not provide CPU speed for M1, but we currently try to report it in hs_err log file:
> 
> `  Host: gerard-mac, "Macmini9,1" arm64 1 MHz, 8 cores, 16G, Darwin 20.5.0, macOS 11.4 (20F71)`
> 
> and end up with a bogus "1MHz" value, so we will simply skip the CPU speed from now on for M1 machines:
> 
> `  Host: gerard-mac, "Macmini9,1" arm64, 8 cores, 16G, Darwin 20.5.0, macOS 11.4 (20F71)`

This pull request has now been integrated.

Changeset: bcbe3845
Author:    Gerard Ziemski <gziemski at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/bcbe3845d92e38ad0086cc337dc5957842eef056
Stats:     9 lines in 1 file changed: 6 ins; 2 del; 1 mod

8269175: [macosx-aarch64] wrong CPU speed in hs_err file

Reviewed-by: dholmes, dcubed, stuefe

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

PR: https://git.openjdk.java.net/jdk/pull/5916


More information about the hotspot-runtime-dev mailing list