mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: bump gc 'extra bytes' check
(needed for non-zero GOMAXPROCS) R=iant, rsc CC=go.peter.90, golang-dev https://golang.org/cl/5486059
This commit is contained in:
parent
6481e37d28
commit
1e63a4e424
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ func TestGcSys(t *testing.T) {
|
|||
sys = runtime.MemStats.Sys - sys
|
||||
}
|
||||
t.Logf("used %d extra bytes", sys)
|
||||
if sys > 2<<20 {
|
||||
if sys > 4<<20 {
|
||||
t.Fatalf("using too much memory: %d bytes", sys)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue