aboutsummaryrefslogtreecommitdiff
path: root/src/internal/testenv
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2025-09-12 10:13:15 +0200
committerQuim Muntal <quimmuntal@gmail.com>2025-09-12 07:12:50 -0700
commita4e25c3d657cf7c3f3a921cc99ea60ad5a337b82 (patch)
tree7e6cd23a75579c6bcdd8eb476c5598ec3c95e2e1 /src/internal/testenv
parentdd8276657f2244193d399f01941ee1d76a79529d (diff)
downloadgo-a4e25c3d657cf7c3f3a921cc99ea60ad5a337b82.tar.xz
net,internal/poll: skip TestAllocs when race is enabled on Windows
The Windows implementation of several network protocols make use of sync.Pool, which randomly drops cached items when race is enabled. While here, zero out the control buffer to allow it to be garbage collected. Fixes #75341 Change-Id: Ie20e21adef2edc02ca7b4a78012dd5f3a9f03bee Reviewed-on: https://go-review.googlesource.com/c/go/+/703195 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/internal/testenv')
0 files changed, 0 insertions, 0 deletions