Commit 1e63a4e4 authored by Christopher Wedgwood's avatar Christopher Wedgwood Committed by Ian Lance Taylor

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
parent 6481e37d
......@@ -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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment