aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mgcscavenge_test.go
diff options
context:
space:
mode:
authorTao Qingyun <qingyunha@gmail.com>2020-11-07 02:43:27 +0000
committerMichael Pratt <mpratt@google.com>2021-03-04 16:31:19 +0000
commita416efef5a278c9c8c5e133bbec5c2c1d0df9491 (patch)
tree7e34054d84846aff966564a6b7bf33bc06733e0e /src/runtime/mgcscavenge_test.go
parent3778f8e07d06cabfccd1508295ad67270af078cd (diff)
downloadgo-a416efef5a278c9c8c5e133bbec5c2c1d0df9491.tar.gz
go-a416efef5a278c9c8c5e133bbec5c2c1d0df9491.zip
runtime: remove a duplicated testcase of TestPallocDataFindScavengeCa…
Change-Id: Ib44729ffb5d4d7b84114dcf028b7e0418c9d5035 GitHub-Last-Rev: 13f59a650aa424b4852ee4a803eebc793dbbfc15 GitHub-Pull-Request: golang/go#42434 Reviewed-on: https://go-review.googlesource.com/c/go/+/268021 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Michael Pratt <mpratt@google.com> Trust: Martin Möhrmann <moehrmann@google.com>
Diffstat (limited to 'src/runtime/mgcscavenge_test.go')
-rw-r--r--src/runtime/mgcscavenge_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/mgcscavenge_test.go b/src/runtime/mgcscavenge_test.go
index 250343077f..3b12a2e1e6 100644
--- a/src/runtime/mgcscavenge_test.go
+++ b/src/runtime/mgcscavenge_test.go
@@ -152,12 +152,6 @@ func TestPallocDataFindScavengeCandidate(t *testing.T) {
max: PallocChunkPages,
want: BitRange{0, uint(m)},
}
- tests["StartFree"+suffix] = test{
- alloc: []BitRange{{uint(m), PallocChunkPages - uint(m)}},
- min: m,
- max: PallocChunkPages,
- want: BitRange{0, uint(m)},
- }
tests["EndFree"+suffix] = test{
alloc: []BitRange{{0, PallocChunkPages - uint(m)}},
min: m,