1
0
mirror of https://github.com/golang/go synced 2024-11-19 02:24:41 -07:00
go/src/syscall
Agniva De Sarker 07f0460737 runtime,syscall/js: reuse wasm memory DataView
Currently, every call to mem() incurs a new DataView object. This was necessary
because the wasm linear memory could grow at any time.

Now, whenever the memory grows, we make a call to the front-end. This allows us to
reuse the existing DataView object and create a new one only when the memory actually grows.

This gives us a boost in performance during DOM operations, while incurring an extra
trip to front-end when memory grows. However, since the GrowMemory calls are meant to decrease
over the runtime of an application, this is a good tradeoff in the long run.

The benchmarks have been tested inside a browser (Google Chrome 75.0.3770.90 (Official Build) (64-bit)).
It is hard to get stable nos. for DOM operations since the jumps make the timing very unreliable.
But overall, it shows a clear gain.

name  old time/op  new time/op  delta
DOM    135µs ±26%    84µs ±10%  -37.22%  (p=0.000 n=10+9)

Go1 benchmarks do not show any noticeable degradation:
name                   old time/op    new time/op    delta
BinaryTree17              22.5s ± 0%     22.5s ± 0%     ~     (p=0.743 n=8+9)
Fannkuch11                15.1s ± 0%     15.1s ± 0%   +0.17%  (p=0.000 n=9+9)
FmtFprintfEmpty           324ns ± 1%     303ns ± 0%   -6.64%  (p=0.000 n=9+10)
FmtFprintfString          535ns ± 1%     515ns ± 0%   -3.85%  (p=0.000 n=10+10)
FmtFprintfInt             609ns ± 0%     589ns ± 0%   -3.28%  (p=0.000 n=10+10)
FmtFprintfIntInt          938ns ± 0%     920ns ± 0%   -1.92%  (p=0.000 n=9+10)
FmtFprintfPrefixedInt     950ns ± 0%     924ns ± 0%   -2.72%  (p=0.000 n=10+9)
FmtFprintfFloat          1.41µs ± 1%    1.43µs ± 0%   +1.01%  (p=0.000 n=10+10)
FmtManyArgs              3.66µs ± 1%    3.46µs ± 0%   -5.43%  (p=0.000 n=9+10)
GobDecode                38.8ms ± 1%    37.8ms ± 0%   -2.50%  (p=0.000 n=10+8)
GobEncode                26.3ms ± 1%    26.3ms ± 0%     ~     (p=0.853 n=10+10)
Gzip                      1.16s ± 1%     1.16s ± 0%   -0.37%  (p=0.008 n=10+9)
Gunzip                    210ms ± 0%     208ms ± 1%   -1.01%  (p=0.000 n=10+10)
JSONEncode               48.0ms ± 0%    48.1ms ± 1%   +0.29%  (p=0.019 n=9+9)
JSONDecode                348ms ± 1%     326ms ± 1%   -6.34%  (p=0.000 n=10+10)
Mandelbrot200            6.62ms ± 0%    6.64ms ± 0%   +0.37%  (p=0.000 n=7+9)
GoParse                  23.9ms ± 1%    24.7ms ± 1%   +2.98%  (p=0.000 n=9+9)
RegexpMatchEasy0_32       555ns ± 0%     561ns ± 0%   +1.10%  (p=0.000 n=8+10)
RegexpMatchEasy0_1K      3.94µs ± 1%    3.94µs ± 0%     ~     (p=0.906 n=9+8)
RegexpMatchEasy1_32       516ns ± 0%     524ns ± 0%   +1.51%  (p=0.000 n=9+10)
RegexpMatchEasy1_1K      4.39µs ± 1%    4.40µs ± 1%     ~     (p=0.171 n=10+10)
RegexpMatchMedium_32     25.1ns ± 0%    25.5ns ± 0%   +1.51%  (p=0.000 n=9+8)
RegexpMatchMedium_1K      196µs ± 0%     203µs ± 1%   +3.23%  (p=0.000 n=9+10)
RegexpMatchHard_32       11.2µs ± 1%    11.6µs ± 1%   +3.62%  (p=0.000 n=10+10)
RegexpMatchHard_1K        334µs ± 1%     348µs ± 1%   +4.21%  (p=0.000 n=9+10)
Revcomp                   2.39s ± 0%     2.41s ± 0%   +0.78%  (p=0.000 n=8+9)
Template                  385ms ± 1%     336ms ± 0%  -12.61%  (p=0.000 n=10+9)
TimeParse                2.18µs ± 1%    2.18µs ± 1%     ~     (p=0.424 n=10+10)
TimeFormat               2.28µs ± 1%    2.22µs ± 1%   -2.30%  (p=0.000 n=10+10)

name                   old speed      new speed      delta
GobDecode              19.8MB/s ± 1%  20.3MB/s ± 0%   +2.56%  (p=0.000 n=10+8)
GobEncode              29.1MB/s ± 1%  29.2MB/s ± 0%     ~     (p=0.810 n=10+10)
Gzip                   16.7MB/s ± 1%  16.8MB/s ± 0%   +0.37%  (p=0.007 n=10+9)
Gunzip                 92.2MB/s ± 0%  93.2MB/s ± 1%   +1.03%  (p=0.000 n=10+10)
JSONEncode             40.4MB/s ± 0%  40.3MB/s ± 1%   -0.28%  (p=0.025 n=9+9)
JSONDecode             5.58MB/s ± 1%  5.96MB/s ± 1%   +6.80%  (p=0.000 n=10+10)
GoParse                2.42MB/s ± 0%  2.35MB/s ± 1%   -2.83%  (p=0.000 n=8+9)
RegexpMatchEasy0_32    57.7MB/s ± 0%  57.0MB/s ± 0%   -1.09%  (p=0.000 n=8+10)
RegexpMatchEasy0_1K     260MB/s ± 1%   260MB/s ± 0%     ~     (p=0.963 n=9+8)
RegexpMatchEasy1_32    62.1MB/s ± 0%  61.1MB/s ± 0%   -1.53%  (p=0.000 n=10+10)
RegexpMatchEasy1_1K     233MB/s ± 1%   233MB/s ± 1%     ~     (p=0.190 n=10+10)
RegexpMatchMedium_32   39.8MB/s ± 0%  39.1MB/s ± 1%   -1.74%  (p=0.000 n=9+10)
RegexpMatchMedium_1K   5.21MB/s ± 0%  5.05MB/s ± 1%   -3.09%  (p=0.000 n=9+10)
RegexpMatchHard_32     2.86MB/s ± 1%  2.76MB/s ± 1%   -3.43%  (p=0.000 n=10+10)
RegexpMatchHard_1K     3.06MB/s ± 1%  2.94MB/s ± 1%   -4.06%  (p=0.000 n=9+10)
Revcomp                 106MB/s ± 0%   105MB/s ± 0%   -0.77%  (p=0.000 n=8+9)
Template               5.04MB/s ± 1%  5.77MB/s ± 0%  +14.48%  (p=0.000 n=10+9)

Updates #32591

Change-Id: Id567e14a788e359248b2129ef1cf0adc8cc4ab7f
Reviewed-on: https://go-review.googlesource.com/c/go/+/183457
Run-TryBot: Agniva De Sarker <agniva.quicksilver@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Richard Musiol <neelance@gmail.com>
2019-08-28 05:11:20 +00:00
..
js runtime,syscall/js: reuse wasm memory DataView 2019-08-28 05:11:20 +00:00
asm9_unix1_amd64.s
asm9_unix2_amd64.s syscall: fix vet complaints for all dragonfly, freebsd, netbsd, openbsd 2019-05-09 21:13:25 +00:00
asm_aix_ppc64.s syscall: remove linknames to runtime symbols for aix/ppc64 2018-12-14 09:10:02 +00:00
asm_darwin_386.s
asm_darwin_amd64.s syscall: fix typo in RawSyscall6 comment 2018-06-26 14:41:15 +00:00
asm_darwin_arm64.s
asm_darwin_arm.s
asm_freebsd_arm.s
asm_linux_386.s syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
asm_linux_amd64.s runtime: rename vdso symbols to use camel case 2018-03-05 19:12:32 +00:00
asm_linux_arm64.s syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
asm_linux_arm.s syscall: remove/update outdated TODO comments 2018-02-26 17:54:31 +00:00
asm_linux_mips64x.s syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
asm_linux_mipsx.s syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
asm_linux_ppc64x.s syscall: implement rawVforkSyscall for linux/ppc64x and linux/s390x 2019-05-15 18:12:10 +00:00
asm_linux_s390x.s syscall: implement rawVforkSyscall for linux/ppc64x and linux/s390x 2019-05-15 18:12:10 +00:00
asm_nacl_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
asm_nacl_amd64p32.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
asm_nacl_arm.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
asm_netbsd_arm64.s all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
asm_netbsd_arm.s syscall: fix vet complaints for all dragonfly, freebsd, netbsd, openbsd 2019-05-09 21:13:25 +00:00
asm_openbsd_arm64.s runtime, syscall: address vet errors in openbsd/arm64 assembly 2019-04-27 18:05:25 +00:00
asm_openbsd_arm.s
asm_plan9_386.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
asm_plan9_amd64.s all: this big patch remove whitespace from assembly files 2018-10-03 15:28:51 +00:00
asm_plan9_arm.s syscall: eliminate aliasing of syscall error strings in Plan 9 2018-05-08 14:57:01 +00:00
asm_solaris_amd64.s syscall: change solaris files to libc files 2018-10-10 00:58:17 +00:00
asm_unix_386.s syscall: fix vet complaints for all dragonfly, freebsd, netbsd, openbsd 2019-05-09 21:13:25 +00:00
asm_unix_amd64.s
asm_windows.s runtime: correct ABI information for all functions 2018-11-12 20:27:18 +00:00
bpf_bsd.go syscall: move uses of Syscall to libSystem on darwin 2018-11-08 03:01:54 +00:00
bpf_darwin.go syscall: move uses of Syscall to libSystem on darwin 2018-11-08 03:01:54 +00:00
const_plan9.go
creds_test.go
dir_plan9.go
dirent_bsd_test.go syscall: skip DirentRepeat test on freebsd 2019-04-16 17:14:50 +00:00
dirent.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
dll_windows.go syscall: refer to Proc.Call documentation for LazyProc.Call on Windows 2019-06-07 17:22:53 +00:00
endian_big.go
endian_little.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
env_plan9.go
env_unix.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
env_windows.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
errors_plan9.go
exec_aix_test.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
exec_bsd.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_darwin.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_libc.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_linux_test.go syscall: fix skip condition in skipUnprivilegedUserClone 2019-06-06 11:40:17 +00:00
exec_linux.go Revert "syscall: use Ctty before fd shuffle" 2019-06-27 16:53:02 +00:00
exec_plan9.go
exec_solaris_test.go
exec_unix_test.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
exec_unix.go all: add new GOOS=illumos, split out of GOOS=solaris 2019-04-30 16:59:13 +00:00
exec_windows.go syscall: allow setting security attributes on processes 2019-04-28 05:44:03 +00:00
export_freebsd_test.go syscall: swap src, dest arguments in convertFromDirents11 for FreeBSD 2018-10-24 15:43:41 +00:00
export_linux_test.go syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
export_test.go
export_unix_test.go
fd_nacl.go syscall: partially revert "enable some nacl code to be shared with js/wasm" 2018-05-23 18:54:00 +00:00
flock_aix.go syscall, cmd/go/internal/lockedfile: remove Flock syscall for aix/ppc64 2018-12-04 14:37:14 +00:00
flock_darwin.go syscall: move uses of Syscall to libSystem on darwin 2018-11-08 03:01:54 +00:00
flock_linux_32bit.go
flock.go syscall: move uses of Syscall to libSystem on darwin 2018-11-08 03:01:54 +00:00
forkpipe2.go Revert "syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe" 2018-08-26 21:30:35 +00:00
forkpipe.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
fs_js.go syscall/js: replace TypedArrayOf with CopyBytesToGo/CopyBytesToJS 2019-05-24 09:38:37 +00:00
fs_nacl.go os: document that Chown with -1 means to leave values unchanged, like POSIX 2018-04-11 23:06:44 +00:00
getdirentries_test.go all: shorten some tests 2019-05-22 12:54:00 +00:00
lsf_linux.go
mkall.sh syscall: support generating netbsd/arm64 files in mkall.sh 2019-05-05 12:55:21 +00:00
mkasm_darwin.go syscall: move uses of Syscall to libSystem on darwin 2018-11-08 03:01:54 +00:00
mkerrors.sh syscall: add aix to syscall_unix_test.go 2019-04-12 16:18:12 +00:00
mkpost.go syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
mksyscall_libc.pl syscall: add marker comments to zsyscall_{aix,solaris}_*.go 2018-10-10 18:42:21 +00:00
mksyscall_windows.go all: use "reports whether" consistently in the few places that didn't 2018-11-02 22:47:58 +00:00
mksyscall.pl syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
mksysctl_openbsd.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_darwin.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_dragonfly.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_freebsd.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_linux.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_netbsd.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_openbsd.pl syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mksysnum_plan9.sh syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
mmap_unix_test.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
msan0.go
msan.go
net_js.go syscall, internal/poll: fix build on js/wasm 2018-06-22 17:58:16 +00:00
net_nacl.go
net.go os: add SyscallConn method for os.File 2018-12-27 16:36:34 +00:00
netlink_linux.go
pwd_plan9.go syscall: reduce redundant getwd tracking in Plan 9 2018-02-28 16:26:49 +00:00
route_bsd.go
route_darwin.go
route_dragonfly.go
route_freebsd_32bit.go syscall: FreeBSD 12 ino64 support 2018-10-05 21:38:13 +00:00
route_freebsd_64bit.go
route_freebsd.go syscall: FreeBSD 12 ino64 support 2018-10-05 21:38:13 +00:00
route_netbsd.go
route_openbsd.go
security_windows.go runtime: safely load DLLs 2019-03-10 05:40:13 +00:00
setuidgid_32_linux.go syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
setuidgid_linux.go syscall: support syscalls without error return on Linux 2018-02-13 15:57:31 +00:00
sockcmsg_linux.go
sockcmsg_unix.go all: add new GOOS=illumos, split out of GOOS=solaris 2019-04-30 16:59:13 +00:00
str.go
syscall_aix_ppc64.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
syscall_aix.go syscall: add aix to syscall_unix_test.go 2019-04-12 16:18:12 +00:00
syscall_bsd_test.go
syscall_bsd.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
syscall_darwin_386.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
syscall_darwin_amd64.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
syscall_darwin_arm64.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
syscall_darwin_arm.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
syscall_darwin.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
syscall_dragonfly_amd64.go
syscall_dragonfly.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
syscall_freebsd_386.go
syscall_freebsd_amd64.go
syscall_freebsd_arm.go
syscall_freebsd_test.go syscall: swap src, dest arguments in convertFromDirents11 for FreeBSD 2018-10-24 15:43:41 +00:00
syscall_freebsd.go syscall: include complete prototype of system calls 2019-08-05 19:01:06 +00:00
syscall_getwd_bsd.go syscall: support Getwd on all BSDs 2018-02-13 15:41:19 +00:00
syscall_js.go syscall: document relationship among Errno, errors.Is and os.Err* 2019-08-22 20:06:29 +00:00
syscall_linux_386.go syscall: replace lstat, lchown, stat to please Android O 2018-09-24 17:08:51 +00:00
syscall_linux_amd64.go syscall: replace lstat, lchown, stat to please Android O 2018-09-24 17:08:51 +00:00
syscall_linux_arm64.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
syscall_linux_arm.go syscall: on ARM GNU/Linux let Pipe fall back to pipe 2019-03-05 02:49:10 +00:00
syscall_linux_mips64x.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
syscall_linux_mipsx.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
syscall_linux_ppc64x.go syscall: implement rawVforkSyscall for linux/ppc64x and linux/s390x 2019-05-15 18:12:10 +00:00
syscall_linux_s390x.go syscall: implement rawVforkSyscall for linux/ppc64x and linux/s390x 2019-05-15 18:12:10 +00:00
syscall_linux_test.go syscall: skip TestSyscallNoError when temp dir is mounted nosuid 2019-02-15 19:24:37 +00:00
syscall_linux.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
syscall_nacl_386.go
syscall_nacl_amd64p32.go
syscall_nacl_arm.go
syscall_nacl.go syscall: document relationship among Errno, errors.Is and os.Err* 2019-08-22 20:06:29 +00:00
syscall_netbsd_386.go
syscall_netbsd_amd64.go
syscall_netbsd_arm64.go all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
syscall_netbsd_arm.go
syscall_netbsd.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
syscall_openbsd_386.go
syscall_openbsd_amd64.go
syscall_openbsd_arm64.go syscall: add support for openbsd/arm64 2019-04-26 17:34:54 +00:00
syscall_openbsd_arm.go
syscall_openbsd.go syscall: implement syscalls on Darwin using libSystem 2018-11-07 20:27:01 +00:00
syscall_plan9_test.go syscall: eliminate aliasing of syscall error strings in Plan 9 2018-05-08 14:57:01 +00:00
syscall_plan9.go syscall: document relationship among Errno, errors.Is and os.Err* 2019-08-22 20:06:29 +00:00
syscall_ptrace_test.go syscall: accept permission errors in TestExecPtrace 2019-06-16 20:04:54 +00:00
syscall_solaris_amd64.go
syscall_solaris.go syscall: support Getwd on all BSDs 2018-02-13 15:41:19 +00:00
syscall_test.go all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
syscall_unix_test.go syscall: move helper handler before AIX handler in TestPassFD 2019-04-16 13:25:16 +00:00
syscall_unix.go syscall: document relationship among Errno, errors.Is and os.Err* 2019-08-22 20:06:29 +00:00
syscall_windows_386.go
syscall_windows_amd64.go
syscall_windows_test.go syscall: update TOKEN_ALL_ACCESS according to WinNT.h 2018-06-11 00:45:20 +00:00
syscall_windows.go syscall: document relationship among Errno, errors.Is and os.Err* 2019-08-22 20:06:29 +00:00
syscall.go syscall: use deprecation convention in package comment, simplify 2018-08-02 20:32:38 +00:00
tables_nacljs.go os: add js/wasm architecture 2018-06-01 05:18:38 +00:00
time_nacl_386.s
time_nacl_amd64p32.s
time_nacl_arm.s
timestruct.go syscall: add AIX operating system 2018-10-10 04:29:55 +00:00
types_aix.go syscall: on AIX use nsendmsg and nrecvmsg, define SockaddrDatalink 2019-04-03 14:36:41 +00:00
types_darwin.go
types_dragonfly.go syscall: add S_IRWXG and S_IRWXO on DragonflyBSD 2018-08-21 14:08:12 +00:00
types_freebsd.go syscall: FreeBSD 12 ino64 support 2018-10-05 21:38:13 +00:00
types_linux.go syscall: use private copy of ustat_t on Linux 2018-08-20 08:01:43 +00:00
types_netbsd.go net, internal/poll, net/internal/socktest: set SOCK_{CLOEXEC,NONBLOCK} atomically on NetBSD 2018-02-15 17:07:12 +00:00
types_openbsd.go syscall: add S_IRWXG and S_IRWXO on OpenBSD 2018-08-21 14:08:25 +00:00
types_solaris.go syscall: fix TestForeground for AIX 2018-10-25 16:03:56 +00:00
types_windows_386.go
types_windows_amd64.go
types_windows_arm.go syscall: support windows/arm 2018-08-22 17:16:18 +00:00
types_windows.go syscall: implement Unix Socket for Windows 2018-08-28 09:26:45 +00:00
unzip_nacl.go
zerrors_aix_ppc64.go syscall: add aix to syscall_unix_test.go 2019-04-12 16:18:12 +00:00
zerrors_darwin_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_darwin_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_darwin_arm64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_darwin_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_dragonfly_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_freebsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_freebsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_freebsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_arm64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_mips64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_mips64le.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_mips.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_mipsle.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_ppc64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_ppc64le.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_linux_s390x.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_netbsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_netbsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_netbsd_arm64.go all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
zerrors_netbsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_openbsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_openbsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_openbsd_arm64.go syscall: add support for openbsd/arm64 2019-04-26 17:34:54 +00:00
zerrors_openbsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_solaris_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zerrors_windows_386.go
zerrors_windows_amd64.go
zerrors_windows.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_aix_ppc64.go syscall: add aix to syscall_unix_test.go 2019-04-12 16:18:12 +00:00
zsyscall_darwin_386.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_386.s syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_amd64.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_amd64.s syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_arm64.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_arm64.s syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_arm.go syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_darwin_arm.s syscall: disable ptrace on iOS 2019-06-15 14:23:04 +00:00
zsyscall_dragonfly_amd64.go Revert "syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe" 2018-08-26 21:30:35 +00:00
zsyscall_freebsd_386.go syscall: fix Getdirentries on 32-bit freebsd 12 2019-06-10 16:18:32 +00:00
zsyscall_freebsd_amd64.go syscall: fix Getdirentries on 32-bit freebsd 12 2019-06-10 16:18:32 +00:00
zsyscall_freebsd_arm.go syscall: fix Getdirentries on 32-bit freebsd 12 2019-06-10 16:18:32 +00:00
zsyscall_linux_386.go syscall: replace lstat, lchown, stat to please Android O 2018-09-24 17:08:51 +00:00
zsyscall_linux_amd64.go syscall: replace lstat, lchown, stat to please Android O 2018-09-24 17:08:51 +00:00
zsyscall_linux_arm64.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
zsyscall_linux_arm.go syscall: on ARM GNU/Linux let Pipe fall back to pipe 2019-03-05 02:49:10 +00:00
zsyscall_linux_mips64.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
zsyscall_linux_mips64le.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
zsyscall_linux_mips.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
zsyscall_linux_mipsle.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
zsyscall_linux_ppc64.go syscall: correct argument order for SyncFileRange syscall on linux/ppc64{,le} 2018-09-05 10:03:43 +00:00
zsyscall_linux_ppc64le.go syscall: correct argument order for SyncFileRange syscall on linux/ppc64{,le} 2018-09-05 10:03:43 +00:00
zsyscall_linux_s390x.go syscall: support Faccessat flags argument 2018-07-27 21:13:43 +00:00
zsyscall_nacl_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_nacl_amd64p32.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_nacl_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_netbsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_netbsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_netbsd_arm64.go all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
zsyscall_netbsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_openbsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_openbsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_openbsd_arm64.go syscall: add support for openbsd/arm64 2019-04-26 17:34:54 +00:00
zsyscall_openbsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_plan9_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_plan9_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_plan9_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsyscall_solaris_amd64.go syscall: add marker comments to zsyscall_{aix,solaris}_*.go 2018-10-10 18:42:21 +00:00
zsyscall_windows.go runtime: safely load DLLs 2019-03-10 05:40:13 +00:00
zsysctl_openbsd.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_darwin_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_darwin_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_darwin_arm64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_darwin_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_dragonfly_amd64.go Revert "syscall, os: use pipe2 syscall on DragonflyBSD instead of pipe" 2018-08-26 21:30:35 +00:00
zsysnum_freebsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_freebsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_freebsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_arm64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_mips64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_mips64le.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_mips.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_mipsle.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_ppc64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_ppc64le.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_linux_s390x.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_netbsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_netbsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_netbsd_arm64.go all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
zsysnum_netbsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_openbsd_386.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_openbsd_amd64.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_openbsd_arm64.go syscall: add support for openbsd/arm64 2019-04-26 17:34:54 +00:00
zsysnum_openbsd_arm.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_plan9.go syscall, internal/syscall: follow convention for generated code comment 2018-06-14 13:21:46 +00:00
zsysnum_solaris_amd64.go
zsysnum_windows_386.go
zsysnum_windows_amd64.go
ztypes_aix_ppc64.go syscall: on AIX use nsendmsg and nrecvmsg, define SockaddrDatalink 2019-04-03 14:36:41 +00:00
ztypes_darwin_386.go
ztypes_darwin_amd64.go
ztypes_darwin_arm64.go
ztypes_darwin_arm.go
ztypes_dragonfly_amd64.go syscall: add S_IRWXG and S_IRWXO on DragonflyBSD 2018-08-21 14:08:12 +00:00
ztypes_freebsd_386.go syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
ztypes_freebsd_amd64.go syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
ztypes_freebsd_arm.go syscall: revert to pre-FreeBSD 10 / POSIX-2008 timespec field names in Stat_t on FreeBSD 2018-12-30 19:36:52 +00:00
ztypes_linux_386.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_amd64.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_arm64.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_arm.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_mips64.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_mips64le.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_mips.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_mipsle.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_ppc64.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_ppc64le.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_linux_s390x.go syscall: check faccessat flags parameter on Linux 2018-06-21 06:47:46 +00:00
ztypes_netbsd_386.go net, internal/poll, net/internal/socktest: set SOCK_{CLOEXEC,NONBLOCK} atomically on NetBSD 2018-02-15 17:07:12 +00:00
ztypes_netbsd_amd64.go net, internal/poll, net/internal/socktest: set SOCK_{CLOEXEC,NONBLOCK} atomically on NetBSD 2018-02-15 17:07:12 +00:00
ztypes_netbsd_arm64.go all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
ztypes_netbsd_arm.go net, internal/poll, net/internal/socktest: set SOCK_{CLOEXEC,NONBLOCK} atomically on NetBSD 2018-02-15 17:07:12 +00:00
ztypes_openbsd_386.go syscall: add S_IRWXG and S_IRWXO on OpenBSD 2018-08-21 14:08:25 +00:00
ztypes_openbsd_amd64.go syscall: add S_IRWXG and S_IRWXO on OpenBSD 2018-08-21 14:08:25 +00:00
ztypes_openbsd_arm64.go syscall: add support for openbsd/arm64 2019-04-26 17:34:54 +00:00
ztypes_openbsd_arm.go syscall: regenerate ztypes for openbsd/arm 2018-12-12 02:35:39 +00:00
ztypes_solaris_amd64.go syscall: fix TestForeground for AIX 2018-10-25 16:03:56 +00:00