mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 07:10:28 +08:00
runtime: Disable memory profiling in gc_test.
From-SVN: r186631
This commit is contained in:
parent
a3a5e559af
commit
cf1f0eb7cc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user