aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-07-28 13:41:16 -0400
committerRuss Cox <rsc@golang.org>2015-07-28 19:59:00 +0000
commit7a63ab1a653d957bcf4e690ea70d6838382015e0 (patch)
treedeaa99587d6a9e8e9399132138118f5589b43d10 /src/runtime/debug
parent68117a91ae3ca306007d89440c8d6e71ffc5bdd5 (diff)
downloadgo-7a63ab1a653d957bcf4e690ea70d6838382015e0.tar.gz
go-7a63ab1a653d957bcf4e690ea70d6838382015e0.zip
runtime: use 64k page rounding on arm64
Fixes #11886. Change-Id: I9392fd2ef5951173ae275b3ab42db4f8bd2e1d7a Reviewed-on: https://go-review.googlesource.com/12747 Reviewed-by: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/runtime/debug')
-rw-r--r--src/runtime/debug/garbage_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/debug/garbage_test.go b/src/runtime/debug/garbage_test.go
index bf7f276be9..3e3483d418 100644
--- a/src/runtime/debug/garbage_test.go
+++ b/src/runtime/debug/garbage_test.go
@@ -88,7 +88,8 @@ func TestReadGCStats(t *testing.T) {
var big = make([]byte, 1<<20)
func TestFreeOSMemory(t *testing.T) {
- if runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOOS == "nacl" || (runtime.GOOS == "darwin" && runtime.GOARCH == "arm64") {
+ if runtime.GOARCH == "arm64" || runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" ||
+ runtime.GOOS == "nacl" {
t.Skip("issue 9993; scavenger temporarily disabled on systems with physical pages larger than logical pages")
}
var ms1, ms2 runtime.MemStats