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

Thomas Stuefe stuefe at openjdk.java.net
Mon Oct 18 16:02:59 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)`

LGTM.

Side note, does anyone regularly build head on BSD ?

Cheers, Thomas

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

Marked as reviewed by stuefe (Reviewer).

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


More information about the hotspot-runtime-dev mailing list