diff options
Diffstat (limited to 'src/runtime/mgc.go')
| -rw-r--r-- | src/runtime/mgc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/mgc.go b/src/runtime/mgc.go index 32f13d1d4d..6436a3f786 100644 --- a/src/runtime/mgc.go +++ b/src/runtime/mgc.go @@ -1344,6 +1344,7 @@ func gcinit() { gcpercent = readgogc() gcdatamask = unrollglobgcprog((*byte)(unsafe.Pointer(&gcdata)), uintptr(unsafe.Pointer(&edata))-uintptr(unsafe.Pointer(&data))) gcbssmask = unrollglobgcprog((*byte)(unsafe.Pointer(&gcbss)), uintptr(unsafe.Pointer(&ebss))-uintptr(unsafe.Pointer(&bss))) + memstats.next_gc = 4 << 20 // 4 megs to start with } // Called from malloc.go using onM, stopping and starting the world handled in caller. |
