]> Cypherpunks repositories - gostls13.git/commit
runtime: try extending arena size in 32-bit allocator.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Wed, 7 Mar 2012 19:21:45 +0000 (14:21 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 19:21:45 +0000 (14:21 -0500)
commit3dcedb620cd0900be6d6de44f66c9b7eb82f2dca
treea1a9d0285b7171ff80ae764f30eda64a8a533ffd
parentb514f0b9069d43e2a92def87201ae4b7cb2acca6
runtime: try extending arena size in 32-bit allocator.

If it didn't reach the limit, we can try extending the arena
before resorting to random memory mappings and praying for the
kernel to be kind.

Fixes #3173.

R=rsc, rsc
CC=golang-dev
https://golang.org/cl/5725045
src/pkg/runtime/malloc.goc