summaryrefslogtreecommitdiff
path: root/libgo/go/runtime/pprof/protomem_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/pprof/protomem_test.go')
-rw-r--r--libgo/go/runtime/pprof/protomem_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/runtime/pprof/protomem_test.go b/libgo/go/runtime/pprof/protomem_test.go
index 315d5f0b4d8..471b1ae9c32 100644
--- a/libgo/go/runtime/pprof/protomem_test.go
+++ b/libgo/go/runtime/pprof/protomem_test.go
@@ -48,7 +48,7 @@ func TestConvertMemProfile(t *testing.T) {
{ID: 3, Mapping: map2, Address: addr2 + 1},
{ID: 4, Mapping: map2, Address: addr2 + 2},
},
- NumLabel: map[string][]int64{"bytes": {829411}},
+ NumLabel: map[string][]int64{"bytes": {512 * 1024}},
},
{
Value: []int64{1, 829411, 0, 0},
@@ -57,7 +57,7 @@ func TestConvertMemProfile(t *testing.T) {
{ID: 6, Mapping: map1, Address: addr1 + 2},
{ID: 7, Mapping: map2, Address: addr2 + 3},
},
- NumLabel: map[string][]int64{"bytes": {829411}},
+ NumLabel: map[string][]int64{"bytes": {512 * 1024}},
},
}
for _, tc := range []struct {