diff options
author | Michael Anthony Knyszek <mknyszek@google.com> | 2019-09-04 16:12:10 +0000 |
---|---|---|
committer | Michael Knyszek <mknyszek@google.com> | 2019-11-08 00:07:43 +0000 |
commit | 33dfd3529b8a761739da00da88eb13d39300a679 (patch) | |
tree | f0d2a316d0de7d90824895c4756cadbe7e6a8f33 /src/runtime/malloc_test.go | |
parent | e6135c27682988a490166629f6a52f5102791bcb (diff) | |
download | go-33dfd3529b8a761739da00da88eb13d39300a679.tar.gz go-33dfd3529b8a761739da00da88eb13d39300a679.zip |
runtime: remove old page allocator
This change removes the old page allocator from the runtime.
Updates #35112.
Change-Id: Ib20e1c030f869b6318cd6f4288a9befdbae1b771
Reviewed-on: https://go-review.googlesource.com/c/go/+/195700
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/malloc_test.go')
-rw-r--r-- | src/runtime/malloc_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/malloc_test.go b/src/runtime/malloc_test.go index 9831dbe079..1040fb6a8f 100644 --- a/src/runtime/malloc_test.go +++ b/src/runtime/malloc_test.go @@ -177,10 +177,6 @@ func TestPhysicalMemoryUtilization(t *testing.T) { } func TestScavengedBitsCleared(t *testing.T) { - if OldPageAllocator { - // This test is only relevant for the new page allocator. - return - } var mismatches [128]BitsMismatch if n, ok := CheckScavengedBitsCleared(mismatches[:]); !ok { t.Errorf("uncleared scavenged bits") |