From cf1f0eb7cc9062e8d41623087f864eadb63ed3ae Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 20 Apr 2012 18:40:14 +0000 Subject: [PATCH] runtime: Disable memory profiling in gc_test. From-SVN: r186631 --- libgo/go/runtime/gc_test.go | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.43.5