1
0
mirror of https://github.com/golang/go synced 2024-10-05 12:21:22 -06:00
go/src/pkg/net
Russ Cox 5b93fc9da6 runtime, pprof: add profiling of thread creation
Same idea as heap profile: how did each thread get created?
Low memory (256 bytes per OS thread), high reward for
programs that suddenly have many threads running.

Fixes #1477.

R=golang-dev, r, dvyukov
CC=golang-dev
https://golang.org/cl/5639059
2012-02-08 10:33:54 -05:00
..
http runtime, pprof: add profiling of thread creation 2012-02-08 10:33:54 -05:00
mail build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
rpc runtime: delete UpdateMemStats, replace with ReadMemStats(&stats). 2012-02-06 19:16:26 +01:00
smtp std: add struct field tags to untagged literals. 2012-02-03 10:12:25 +11:00
textproto build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
url build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
cgo_bsd.go build: add build comments to core packages 2011-09-15 16:48:57 -04:00
cgo_linux.go net: fix EAI_BADFLAGS error on freebsd 2011-04-21 10:22:53 -04:00
cgo_stub.go go/build: add BuildTags to Context, allow !tag 2012-01-23 15:16:38 -05:00
cgo_unix.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
dial_test.go net: run TestDialTimeout on windows 2012-02-07 12:05:59 +11:00
dial.go net: Dial, ListenPacket with "ip:protocol" network for raw IP sockets 2012-01-21 21:51:53 +09:00
dialgoogle_test.go net: fix dialing google test 2012-01-26 07:38:49 +09:00
dnsclient_unix.go net: change SetTimeout to SetDeadline 2012-01-18 16:24:06 -08:00
dnsclient.go renaming_3: gofix -r go1pkgrename src/pkg/[m-z]* 2011-11-08 15:41:54 -08:00
dnsconfig.go net: move DNSConfigError to a portable file 2012-01-31 13:01:34 -08:00
dnsmsg_test.go net: rearrange source files so we could run more tests on windows 2011-06-13 10:22:31 +10:00
dnsmsg.go net: update comments to remove redundant "net" prefix 2012-01-29 19:11:05 +09:00
dnsname_test.go net: rearrange source files so we could run more tests on windows 2011-06-13 10:22:31 +10:00
doc.go pkg: add missing godoc comments to windows versions 2012-01-17 16:51:54 +11:00
fd_darwin.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_freebsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_linux.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_netbsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_openbsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
fd_windows.go net: remove types InvalidConnError and UnknownSocketError 2012-01-31 15:04:42 -08:00
fd.go net: remove types InvalidConnError and UnknownSocketError 2012-01-31 15:04:42 -08:00
file_plan9.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
file_test.go src: make use of runtime.GOOS, GOARCH instead of syscall.OS, ARCH 2012-01-14 06:40:55 +09:00
file_windows.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
file.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
hosts_test.go sort: rename helpers: s/Sort// in sort.Sort[Float64s|Ints|Strings] 2011-07-08 10:52:50 +10:00
hosts_testdata
hosts.go use new time API 2011-11-30 12:01:46 -05:00
interface_bsd.go net: tweak variable declarations 2012-02-03 07:40:03 +09:00
interface_darwin.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
interface_freebsd.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
interface_linux.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
interface_netbsd.go os: OS-dependent bits to support NetBSD. 2011-12-15 12:19:19 -05:00
interface_openbsd.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
interface_stub.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
interface_test.go net, syscall: interface address and mask 2011-12-21 21:39:00 +09:00
interface_windows.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
interface.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
ip_test.go all: sort imports 2011-11-02 15:54:16 -04:00
ip.go net, syscall: interface address and mask 2011-12-21 21:39:00 +09:00
ipraw_test.go net: Dial, ListenPacket with "ip:protocol" network for raw IP sockets 2012-01-21 21:51:53 +09:00
iprawsock_plan9.go net: update comments to remove redundant "net" prefix 2012-01-29 19:11:05 +09:00
iprawsock_posix.go net: consistent OpError message 2012-01-24 02:59:43 +09:00
iprawsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
ipsock_plan9.go net: fix Plan 9 build 2012-02-05 16:59:32 -08:00
ipsock_posix.go net: fix broken setDefaultSockopts 2012-01-20 07:31:13 +09:00
ipsock.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
lookup_plan9.go net: Dial, ListenPacket with "ip:protocol" network for raw IP sockets 2012-01-21 21:51:53 +09:00
lookup_test.go net: implement LookupTXT for windows 2011-11-02 17:11:40 +11:00
lookup_unix.go pkg: add missing godoc comments to windows versions 2012-01-17 16:51:54 +11:00
lookup_windows.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
multicast_test.go net, syscall: add IPv4 multicast helpers for windows 2012-02-01 14:14:04 +09:00
net_test.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
net.go net: move DNSConfigError to a portable file 2012-01-31 13:01:34 -08:00
newpollserver.go std: add struct field tags to untagged literals. 2012-02-03 10:12:25 +11:00
parse_test.go all: sort imports 2011-11-02 15:54:16 -04:00
parse.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
pipe_test.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
pipe.go net: change SetTimeout to SetDeadline 2012-01-18 16:24:06 -08:00
port_test.go net: fix test for Solaris: gopher and http are not in /etc/services. 2011-03-07 15:31:41 -08:00
port.go crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
sendfile_linux.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
sendfile_stub.go crypto/mime/net/time: add netbsd to +build tags 2011-12-21 21:44:47 +11:00
sendfile_windows.go syscall: use error 2011-11-13 22:44:52 -05:00
server_test.go net: change SetTimeout to SetDeadline 2012-01-18 16:24:06 -08:00
sock_bsd.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
sock_linux.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
sock_windows.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
sock.go net: remove types InvalidConnError and UnknownSocketError 2012-01-31 15:04:42 -08:00
sockopt_bsd.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
sockopt_linux.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
sockopt_windows.go net: fix windows build 2012-02-01 12:13:46 +11:00
sockopt.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
sockoptip_bsd.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
sockoptip_darwin.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
sockoptip_freebsd.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
sockoptip_linux.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
sockoptip_openbsd.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
sockoptip_windows.go net, syscall: add IPv4 multicast helpers for windows 2012-02-01 14:14:04 +09:00
sockoptip.go net: add IP-level socket option helpers for Unix variants 2012-01-11 09:53:32 +09:00
tcpsock_plan9.go net: update comments to remove redundant "net" prefix 2012-01-29 19:11:05 +09:00
tcpsock_posix.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
tcpsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
timeout_test.go net: actually reset deadline when time is zero 2012-01-24 14:06:12 -08:00
udp_test.go net: make WriteTo fail when UDPConn is already connected 2012-01-27 01:31:42 +09:00
udpsock_plan9.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
udpsock_posix.go net: ListenMulticastUDP to listen concurrently across multiple listeners 2012-02-01 01:53:26 +09:00
udpsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00
unicast_test.go net: fix linux build 2012-01-19 18:56:17 -08:00
unixsock_plan9.go net: update comments to remove redundant "net" prefix 2012-01-29 19:11:05 +09:00
unixsock_posix.go net: replace error variable name e, errno with err 2012-02-01 00:36:45 +09:00
unixsock.go src/pkg/[n-z]*: gofix -r error -force=error 2011-11-01 22:05:34 -04:00