From 33dfd3529b8a761739da00da88eb13d39300a679 Mon Sep 17 00:00:00 2001 From: Michael Anthony Knyszek Date: Wed, 4 Sep 2019 16:12:10 +0000 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Austin Clements --- src/runtime/malloc_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/runtime/malloc_test.go') 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") -- cgit v1.3