commit | 3e46519cee5c916a9b39480fbac13f4ffc6a93b0 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Feb 12 20:35:50 2020 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Sat Feb 15 17:10:18 2020 +0000 |
tree | 884df669dd2ef5d10a87775515e14d68983e1ea1 | |
parent | c94637ad6fd38d4814fb02d094a1a73f19323d71 [diff] |
runtime: on 32-bit systems, limit default GOMAXPROCS to 32 Otherwise we can easily run out of stack space for threads. The user can still override by setting GOMAXPROCS. Change-Id: I30cebf1d08434f55c44c44ed9894e3e507665d35 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/219278 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>