]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: enable more address bits on macOS/ARM64
authorCherry Zhang <cherryyz@google.com>
Thu, 17 Sep 2020 14:53:10 +0000 (10:53 -0400)
committerCherry Zhang <cherryyz@google.com>
Tue, 6 Oct 2020 21:55:21 +0000 (21:55 +0000)
commita739306ca7d9ea3a98acca59b853fe889f04c28c
treeaf1cda20011d553eb24919447fdaad8b6de804a4
parent28e549dec3954b36d0c83442be913d8709d7e5ae
runtime: enable more address bits on macOS/ARM64

Apparently macOS/ARM64 has 47-bit addresses, instead of 33-bit as
on ios/ARM64. Enable more address bits.

Updates #38485.

Change-Id: I8aa64ba22a3933e3d9c4fffd17d902b5f31c30e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/256918
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/malloc.go
src/runtime/mpagealloc_32bit.go
src/runtime/mpagealloc_64bit.go