]> Cypherpunks repositories - gostls13.git/commit
runtime: set minimum heap size to 4Mbytes
authorRick Hudson <rlh@golang.org>
Wed, 28 Jan 2015 20:57:46 +0000 (15:57 -0500)
committerRick Hudson <rlh@golang.org>
Wed, 28 Jan 2015 22:14:06 +0000 (22:14 +0000)
commit813e97b7867a2dd56249f5e2f19b102479b5e633
tree40fd740dc944edcc7735b06ddb1bea685c63b34d
parent4ce4d8b2c4ffb0378a246b26815e9e27d077670a
runtime: set minimum heap size to 4Mbytes

Set the minimum heap size to 4Mbytes except when the hash
table code wants to force a GC. In an unrelated change when a
mutator is asked to assist the GC by marking pointer workbufs
it will keep working until the requested number of pointers
are processed even if it means asking for additional workbufs.

Change-Id: I661cfc0a7f2efcf6286b5d37d73e593d9ecd04d5
Reviewed-on: https://go-review.googlesource.com/3392
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgc.go