summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2018-02-20 18:16:56 -0500
committerAustin Clements <austin@google.com>2018-02-21 03:27:07 +0000
commitc823155828e5e6f4f7aa5683edb6f9e5dfd31d28 (patch)
treef3e6b87353c6dc979d91c65bc81651a0953bf8b1 /AUTHORS
parent16c5d30c84a7dbba88f89585b0238f52cc6b4494 (diff)
downloadgo-git-c823155828e5e6f4f7aa5683edb6f9e5dfd31d28.tar.gz
runtime: ensure sysStat for mheap_.arenas is aligned
We don't want to account the memory for mheap_.arenas because most of it is never touched, so currently we pass the address of a uint64 on the heap. However, at least on mips, it's possible for this uint64 to be unaligned, which causes the atomic add in mSysStatInc to crash. Fix this by instead passing a nil stat pointer. Fixes #23946. Change-Id: I091587df1b3066c330b6bb4d834e4596c407910f Reviewed-on: https://go-review.googlesource.com/95695 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions