diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-20 18:40:14 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-20 18:40:14 +0000 |
commit | cf1f0eb7cc9062e8d41623087f864eadb63ed3ae (patch) | |
tree | f0c82f97ff774b3cae921c14c892228ca7a67920 /libgo/go/runtime | |
parent | a3a5e559af68fd9941aa4426466361fff84b3dbe (diff) | |
download | gcc-cf1f0eb7cc9062e8d41623087f864eadb63ed3ae.zip gcc-cf1f0eb7cc9062e8d41623087f864eadb63ed3ae.tar.gz gcc-cf1f0eb7cc9062e8d41623087f864eadb63ed3ae.tar.bz2 |
runtime: Disable memory profiling in gc_test.
From-SVN: r186631
Diffstat (limited to 'libgo/go/runtime')
-rw-r--r-- | libgo/go/runtime/gc_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/runtime/gc_test.go b/libgo/go/runtime/gc_test.go index 65894a6..7770e49 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 |