aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-08-19 15:51:00 -0400
committerAustin Clements <austin@google.com>2016-09-06 21:05:58 +0000
commit8259cf3c72e149ccdec2070d7f885119d92d94c6 (patch)
treeb5172a9a7503c0d9336705bac87544f0ff812722 /src/runtime/debug
parent1b9499b06989d2831e5b156161d6c07642926ee1 (diff)
downloadgo-8259cf3c72e149ccdec2070d7f885119d92d94c6.tar.gz
go-8259cf3c72e149ccdec2070d7f885119d92d94c6.zip
runtime/debug: enable TestFreeOSMemory on all arches
TestFreeOSMemory was disabled on many arches because of issue #9993. Since that's been fixed, enable the test everywhere. Change-Id: I298c38c3e04128d9c8a1f558980939d5699bea03 Reviewed-on: https://go-review.googlesource.com/27403 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/debug')
-rw-r--r--src/runtime/debug/garbage_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/debug/garbage_test.go b/src/runtime/debug/garbage_test.go
index 6ec94aa3fb..d1fa7db23a 100644
--- a/src/runtime/debug/garbage_test.go
+++ b/src/runtime/debug/garbage_test.go
@@ -89,10 +89,6 @@ func TestReadGCStats(t *testing.T) {
var big = make([]byte, 1<<20)
func TestFreeOSMemory(t *testing.T) {
- if runtime.GOARCH == "arm64" || runtime.GOARCH == "ppc64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "mips64" || runtime.GOARCH == "mips64le" ||
- runtime.GOOS == "nacl" {
- t.Skip("issue 9993; scavenger temporarily disabled on systems with physical pages larger than logical pages")
- }
var ms1, ms2 runtime.MemStats
if big == nil {