From 9e56bcb9fe23bbd75d8896e845a9129251d4fca5 Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Tue, 2 Jun 2020 21:51:39 -0400 Subject: [PATCH] doc/go1.15: runtime release notes Change-Id: Ie37e993e840df2c063dee98fa3f6eca8e8713ca3 Reviewed-on: https://go-review.googlesource.com/c/go/+/236177 Reviewed-by: Michael Knyszek Reviewed-by: Ian Lance Taylor --- doc/go1.15.html | 51 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/doc/go1.15.html b/doc/go1.15.html index 37fa76c69c..24a1c0d0cf 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -55,6 +55,11 @@ Do not send CLs removing the interior tags from such phrases. on Windows.

+

+ Go-built DLLs no longer cause the process to exit when it receives a + signal (such as Ctrl-C at a terminal). +

+

Android

@@ -64,6 +69,8 @@ Do not send CLs removing the interior tags from such phrases. planned to become the default NDK linker in a future NDK version.

+

RISC-V

+

TODO

@@ -192,6 +199,17 @@ TODO

Runtime

+

+ Go now retries system calls that return EINTR. This + became more common in Go 1.14 with the addition of asynchronous + preemption, but is now handled transparently. +

+ +

+ Allocation of small objects now performs much better at high core + counts, and has lower worst-case latency. +

+

TODO

@@ -209,6 +227,16 @@ TODO updated to satisfy the safety rules.

+

+ Go 1.15 reduces typical binary sizes by around 5% compared to Go + 1.14 by eliminating certain types of GC metadata and more + aggressively eliminating unused type metadata. +

+ +

+ TODO: -spectre flags +

+

Linker

@@ -486,6 +514,7 @@ TODO int, int8, int16, int32, int64, string, uint, uint8, uint16, uint32, uint64, uintptr, then the value will be printed, instead of just its address. + Previously, this was only true for values of exactly these types.

@@ -499,16 +528,22 @@ TODO In earlier releases the behavior was unpredictable.

-

- TODO: https://golang.org/cl/211139: do not exit(2) if a Go built DLL receives a signal +

+ Several functions, including + ReadMemStats + and + GoroutineProfile, + no longer block if a garbage collection is in progress.

- TODO: https://golang.org/cl/216401: prevent allocation when converting small ints to interfaces + Converting small integer values into an interface value no + longer causes allocation.

-

- TODO: https://golang.org/cl/220578: allow float syscall return values on windows amd64 +

+ Non-blocking receives on closed channels now perform as well as + non-blocking receives on open channels.

@@ -564,6 +599,12 @@ TODO Some programs that set Setctty will need to change the value of Ctty to use a child descriptor number.

+ +

+ It is now possible to call system calls that return floating + point values on windows/amd64. + TODO: Point to (write?) documentation on how to do this. +

-- 2.48.1