From: Ian Lance Taylor Date: Fri, 20 Apr 2012 18:40:14 +0000 (+0000) Subject: runtime: Disable memory profiling in gc_test. X-Git-Tag: misc/gccgo-go1_1_2~3387 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf1f0eb7cc9062e8d41623087f864eadb63ed3ae;p=thirdparty%2Fgcc.git runtime: Disable memory profiling in gc_test. From-SVN: r186631 --- diff --git a/libgo/go/runtime/gc_test.go b/libgo/go/runtime/gc_test.go index 65894a6fd015..7770e499ad35 100644 --- a/libgo/go/runtime/gc_test.go +++ b/libgo/go/runtime/gc_test.go @@ -15,6 +15,8 @@ func TestGcSys(t *testing.T) { runtime.ReadMemStats(memstats) sys := memstats.Sys + runtime.MemProfileRate = 0 // disable profiler + itercount := 1000000 if testing.Short() { itercount = 100000