diff options
| author | database64128 <free122448@hotmail.com> | 2026-03-10 17:54:59 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-16 15:35:14 -0700 |
| commit | 6ab37c1ca59664375786fb2f3c122eb3db98e433 (patch) | |
| tree | 6e6383fe8e89d722e030e65e4e61140d5ff4ed99 /test/codegen | |
| parent | 4135faca66b44b3af9306059bdc4c7e413336385 (diff) | |
| download | go-6ab37c1ca59664375786fb2f3c122eb3db98e433.tar.xz | |
internal/poll: pin all objects needed during overlapped I/O
Windows requires these objects to remain valid during the whole
overlapped operation. This currently works because we have a non-moving
GC and these objects are taken from a sync.Pool.
For correctness, and to ensure a possible moving GC in the future does
not break it in a similar manner, pin these objects in execIO.
Updates #77975.
Change-Id: Iff07009d40e4a439026a961a6dca9f6843cbd61d
Reviewed-on: https://go-review.googlesource.com/c/go/+/753560
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
