mirror of git://gcc.gnu.org/git/gcc.git
parent
c623f8372c
commit
9532fecfc5
|
|
@ -22,7 +22,7 @@ func TestGcSys(t *testing.T) {
|
||||||
sys = runtime.MemStats.Sys - sys
|
sys = runtime.MemStats.Sys - sys
|
||||||
}
|
}
|
||||||
t.Logf("used %d extra bytes", 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)
|
t.Fatalf("using too much memory: %d bytes", sys)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue