From 4d5bb9c60905b162da8b767a8a133f6b4edcaa65 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Wed, 18 Dec 2019 15:24:42 -0500 Subject: [PATCH] doc/go1.14: more runtime/compiler release notes This is based on reading through every commit message to runtime and cmd/{compile,link,internal,asm} since Go 1.13. Change-Id: I253b1a70ed265f15180fa20c191ceeafa6612ac4 Reviewed-on: https://go-review.googlesource.com/c/go/+/211977 Reviewed-by: Matthew Dempsky --- doc/go1.14.html | 57 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/doc/go1.14.html b/doc/go1.14.html index c255e81ff8..b0d2c97403 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -30,6 +30,10 @@ Do not send CLs removing the interior tags from such phrases. TODO

+

+ TODO: https://golang.org/cl/187519: allow embedding overlapping interfaces +

+

Ports

@@ -95,7 +99,7 @@ TODO

FreeBSD

-

+

Go now supports the 64-bit ARM architecture on FreeBSD (the freebsd/arm64 port).

@@ -107,6 +111,13 @@ TODO Go 1.14 drops support for the Native Client platform (GOOS=nacl).

+

+ The runtime now respects zone CPU caps + (the zone.cpu-cap resource control) + for runtime.NumCPU and the default value + of GOMAXPROCS. +

+

Tools

@@ -230,10 +241,6 @@ TODO

Runtime

-

-TODO -

-

This release improves the performance of most uses of defer to incur almost zero overhead compared to @@ -269,6 +276,8 @@ TODO visible changes.

+ +

Compiler

@@ -292,6 +301,12 @@ TODO one of the unsafe.Pointer-typed operands must point into the same object. + + +

+ The compiler can now emit machine-readable logs of key optimizations + using the -json flag, including inlining, escape + analysis, bounds-check elimination, and nil-check elimination

@@ -305,6 +320,14 @@ TODO following platform conventions.

+

+ This release includes experimental support for compiler-inserted + coverage instrumentation for fuzzing. + See the issue for more + details. + This API may change in future releases. +

+

Core library

@@ -370,7 +393,7 @@ TODO

plugin

- TODO: https://golang.org/cl/191617: add freebsd/amd64 plugin support + The plugin package now supports freebsd/amd64.

@@ -395,15 +418,27 @@ TODO recursive panic/recover.

-

- TODO: https://golang.org/cl/187739: treat CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, CTRL_SHUTDOWN_EVENT as SIGTERM on Windows +

+ On macOS, SIGPIPE is no longer forwarded to signal + handlers installed before the Go runtime is initialized. + This is necessary because macOS delivers SIGPIPE + to the main thread + rather than the thread writing to the closed pipe.

-

- TODO: https://golang.org/cl/188297: don't forward SIGPIPE on macOS + + +

signal
+
+

+ On Windows, + the CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, + and CTRL_SHUTDOWN_EVENT events now generate + a syscall.SIGTERM signal, similar to how Control-C + and Control-Break generate a syscall.SIGINT signal.

-
+
testing
-- 2.50.0