From: Brad Fitzpatrick Date: Wed, 30 Nov 2016 04:12:33 +0000 (+0000) Subject: doc: more go1.8.html X-Git-Tag: go1.8beta1~16 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=93dfb49d86ff085a4e644d596a0632de66feb135;p=gostls13.git doc: more go1.8.html Mutex profiling, syscall, fmt, go/types, html/template. TBR=See https://golang.org/cl/33244 Updates #17929 Change-Id: I1ba0649171d6f6a69646a90eb65db6674cb903af Reviewed-on: https://go-review.googlesource.com/33684 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/go1.8.html b/doc/go1.8.html index ec65e1ef8e..4163027a32 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -36,7 +36,8 @@ The release adds support for 32-bit MIPS, reduces GC pauses by eliminating stop-the-world stack rescanning, adds HTTP/2 Push support, adds HTTP graceful shutdown, -more context support, +adds more context support, +enables profiling mutexes, and simplifies sorting slices.

@@ -64,7 +65,7 @@ Go now supports 32-bit MIPS on Linux for both big-endian

-Go now requires DragonFly BSD 4.4.4 or later. +Go now requires DragonFly BSD 4.4.4 or later.

@@ -223,6 +224,10 @@ It has moved to the “tools” repository and is and is available via

TODO: more. proto? standalone profiles with symbols? +

+runtime/pprof: output CPU profiles in pprof protobuf format (CL 33071)
+runtime/pprof: write profiles in protobuf format. (CL 32257)
+

Trace

@@ -233,6 +238,7 @@ cmd/trace: add option to output pprof files (CL 23324) cmd/trace: fix a runnable goroutine count bug (CL 25552) cmd/trace: move process-wide GC events to their own row (CL 30017) internal/trace: fix analysis of EvGoWaiting/EvGoInSyscall events (CL 25572) +cmd/trace: annotate different mark worker types (CL 30702)

Vet

@@ -543,6 +549,25 @@ now implements the new take a context. +

Mutex Contention Profiling

+ +

+ The runtime and tools now support profiling contended mutexes. +

+ +

+ Most users will want to use the new -mutexprofile + flag with go test, + and then use pprof on the resultant file. +

+ +

+ Lower-level support is also available via the new + MutexProfile + and + SetMutexProfileFraction. +

+

Minor changes to the library

@@ -936,6 +961,20 @@ crypto/x509: return error for missing SerialNumber (CL 27238) +

fmt
+
+

+ Scanf, + Fscanf, and + Sscanf now + handle spaces differently and more consistently than + previous releases. See the + scanning documentation + for details. +

+
+
+
go/doc

@@ -945,6 +984,31 @@ crypto/x509: return error for missing SerialNumber (CL 27238)

+
go/types
+
+

+ The new function + Default + returns the default "typed" type for an "untyped" type. +

+ +

+ The alignment of complex64 now matches + the Go compiler. +

+
+
+ +
html/template
+
+

+ The package now validates + the "type" attribute on + a <script> tag. +

+
+
+
image/png

@@ -1411,7 +1475,6 @@ crypto/x509: return error for missing SerialNumber (CL 27238)

-
strconv

@@ -1423,6 +1486,29 @@ crypto/x509: return error for missing SerialNumber (CL 27238)

+
syscall
+
+

+ The Getpagesize + now returns the system's size, rather than a constant value. + Previously it always returned 4KB. +

+ +

+ The signature + of Utimes has + changed on Solaris to match all the other Unix systems' + signature. Portable code should continue to use + os.Chtimes instead. +

+ +

+ The X__cmsg_data field has been removed from + Cmsghdr. +

+
+
+
text/template

diff --git a/doc/go1.8.txt b/doc/go1.8.txt index b03d820e09..49f29a399a 100644 --- a/doc/go1.8.txt +++ b/doc/go1.8.txt @@ -12,7 +12,6 @@ API additions and behavior changes: cmd/compile, runtime, etc: get rid of constant FP registers (CL 28095) cmd/compile, runtime: add go:yeswritebarrierrec pragma (CL 30938) -cmd/compile/internal/gc: add runtime/trace support (CL 25354) cmd/compile/internal/gc: enable new parser by default (CL 27203) cmd/compile/internal/syntax: fast Go syntax trees, initial commit (CL 27195) cmd/compile: add compiler phase timing (CL 24462) @@ -37,28 +36,14 @@ cmd/link: split large elf text sections on ppc64x (CL 27790) cmd/link: trampoline support for external linking on ARM (CL 31143) cmd/objdump: implement objdump of .o files (CL 24818) -fmt: document and adjust Scanf space handling to eliminate a few paradoxes (CL 30611) - go/build: allow % in ${SRCDIR} expansion for Jenkins (CL 31611) go/build: do not record go:binary-only-package if build tags not satisfied (CL 31577) go/build: implement default GOPATH (CL 32019) -go/printer: don't drop required semi/linebreak after /*-comment (CL 33016) -go/types: expose Default function, which converts untyped T to T (CL 30715) -go/types: match cmd/compile's alignment for complex64 (CL 31939) - -html/template: check "type" attribute in