aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/heapdump.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/heapdump.go')
-rw-r--r--src/runtime/heapdump.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/heapdump.go b/src/runtime/heapdump.go
index 780aeb5b68..32e393db2b 100644
--- a/src/runtime/heapdump.go
+++ b/src/runtime/heapdump.go
@@ -653,7 +653,7 @@ func writeheapdump_m(fd uintptr) {
// Update stats so we can dump them.
// As a side effect, flushes all the MCaches so the MSpan.freelist
// lists contain all the free objects.
- updatememstats(nil)
+ updatememstats()
// Set dump file.
dumpfd = fd