aboutsummaryrefslogtreecommitdiff
path: root/src/strings/example_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2018-09-25 14:32:44 -0700
committerKeith Randall <khr@golang.org>2018-09-26 21:12:16 +0000
commite35a41261b19589f40d32bd66274c23ab4b9b32e (patch)
tree76297d5ddd92cb94d4f56fa1a342d4d728f1132b /src/strings/example_test.go
parentebdc0b8d68e04ad383088c8b3ab963de4a9b5c5d (diff)
downloadgo-e35a41261b19589f40d32bd66274c23ab4b9b32e.tar.xz
reflect: use correct write barrier operations for method funcs
Fix the code to use write barriers on heap memory, and no write barriers on stack memory. These errors were discoverd as part of fixing #27695. They may have something to do with that issue, but hard to be sure. The core cause is different, so this fix is a separate CL. Update #27695 Change-Id: Ib005f6b3308de340be83c3d07d049d5e316b1e3c Reviewed-on: https://go-review.googlesource.com/137438 Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/strings/example_test.go')
0 files changed, 0 insertions, 0 deletions