diff options
Diffstat (limited to 'test/mallocrep.go')
-rw-r--r-- | test/mallocrep.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mallocrep.go b/test/mallocrep.go index 2357d8375..762f3754f 100644 --- a/test/mallocrep.go +++ b/test/mallocrep.go @@ -31,6 +31,7 @@ func bigger() { } func main() { + runtime.GC() // clean up garbage from init runtime.MemProfileRate = 0 // disable profiler runtime.MemStats.Alloc = 0 // ignore stacks flag.Parse() @@ -59,7 +60,7 @@ func main() { if *chatty { println("Primed", i) } - // runtime.frozen = true; + // runtime.frozen = true } } } |