]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: bump gc 'extra bytes' check
authorChristopher Wedgwood <cw@f00f.org>
Wed, 14 Dec 2011 05:28:43 +0000 (21:28 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 14 Dec 2011 05:28:43 +0000 (21:28 -0800)
(needed for non-zero GOMAXPROCS)

R=iant, rsc
CC=go.peter.90, golang-dev
https://golang.org/cl/5486059

src/pkg/runtime/gc_test.go

index 156d3bc7d30264675103696ef2c388be6fd3e74e..63c60379696cfd5f063c574c6ce645e45c30aa18 100644 (file)
@@ -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)
        }
 }