1
0
mirror of https://github.com/golang/go synced 2024-11-08 05:06:12 -07:00
go/src/internal/poll
taoyuanyuan 5eeb372418 internal/poll: avoid memory leak in Writev
The chunks that were referenced by fd.iovecs would not be GC.

Change-Id: I7bfcb91a3fef57a4a1861168e9cd3ab55ce1334e
GitHub-Last-Rev: e0b7f68447
GitHub-Pull-Request: golang/go#32138
Reviewed-on: https://go-review.googlesource.com/c/go/+/178037
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-05-20 01:53:24 +00:00
..
errno_unix.go internal/poll: copy and use errnoErr to avoid allocations 2019-03-04 01:22:28 +00:00
errno_windows.go internal/poll: copy and use errnoErr to avoid allocations 2019-03-04 01:22:28 +00:00
error_linux_test.go runtime, internal/poll, net: report event scanning error on read event 2019-03-13 08:53:02 +00:00
error_stub_test.go runtime, internal/poll, net: report event scanning error on read event 2019-03-13 08:53:02 +00:00
error_test.go runtime, internal/poll: report only critical event scanning error 2019-03-19 08:30:50 +00:00
export_posix_test.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
export_test.go
export_windows_test.go
fd_fsync_darwin.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd_fsync_posix.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd_fsync_windows.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd_io_plan9.go
fd_mutex_test.go
fd_mutex.go
fd_opendir_darwin.go syscall: avoid _getdirentries64 on darwin 2019-04-03 21:27:05 +00:00
fd_plan9.go all: use "reports whether" consistently in the few places that didn't 2018-11-02 22:47:58 +00:00
fd_poll_nacljs.go all: use "reports whether" consistently in the few places that didn't 2018-11-02 22:47:58 +00:00
fd_poll_runtime.go runtime, internal/poll, net: report event scanning error on read event 2019-03-13 08:53:02 +00:00
fd_posix_test.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
fd_posix.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
fd_unix.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd_windows_test.go
fd_windows.go all: s/cancelation/cancellation/ 2019-04-16 20:27:15 +00:00
fd_writev_darwin.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd_writev_unix.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
fd.go all: add Unwrap and Is methods to various error types 2019-05-04 16:14:12 +00:00
hook_cloexec.go
hook_unix.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
hook_windows.go
read_test.go runtime, internal/poll: report only critical event scanning error 2019-03-19 08:30:50 +00:00
sendfile_bsd.go
sendfile_linux.go
sendfile_solaris.go
sendfile_windows.go internal/poll, os: cancel pending I/O when closing pipes on Windows 2019-03-19 04:20:08 +00:00
sock_cloexec.go
sockopt_linux.go
sockopt_unix.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
sockopt_windows.go
sockopt.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
sockoptip.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
splice_linux.go internal/poll: improve Splice comments 2018-09-16 03:22:13 +00:00
strconv.go
sys_cloexec.go internal/poll: add AIX operating system 2018-10-03 21:15:18 +00:00
writev_test.go
writev.go internal/poll: avoid memory leak in Writev 2019-05-20 01:53:24 +00:00