mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
e6135c2768
commit
33dfd3529b
8 changed files with 26 additions and 1605 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue