aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/bytes.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2017-08-11 09:48:46 -0700
committerKeith Randall <khr@golang.org>2017-08-14 20:11:21 +0000
commit2c990f4596b8211ec24b095d80e66ec82a5a5021 (patch)
tree22372766cf1910ce050886152abd7cba68a36a82 /src/bytes/bytes.go
parent1f631a2f9a20d8dc57fb877fb95f807c895d1c40 (diff)
downloadgo-2c990f4596b8211ec24b095d80e66ec82a5a5021.tar.xz
runtime: add a use of runtime.KeepAlive's argument
This makes sure that its argument is marked live on entry. We need its arg to be live so defers of KeepAlive get scanned correctly by the GC. Fixes #21402 Change-Id: I906813e433d0e9726ca46483723303338da5b4d7 Reviewed-on: https://go-review.googlesource.com/55150 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/bytes/bytes.go')
0 files changed, 0 insertions, 0 deletions