projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a5e55
)
runtime: Disable memory profiling in gc_test.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 20 Apr 2012 18:40:14 +0000
(18:40 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 20 Apr 2012 18:40:14 +0000
(18:40 +0000)
From-SVN: r186631
libgo/go/runtime/gc_test.go
patch
|
blob
|
history
diff --git
a/libgo/go/runtime/gc_test.go
b/libgo/go/runtime/gc_test.go
index 65894a6fd01531695c2435efe9064b406d64bbbb..7770e499ad351e1da386312cd365302a11ac6bbf 100644
(file)
--- 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