From: Austin Clements
+ TODO: https://golang.org/cl/158797: implement shifts by signed amounts +
+TODO
++ TODO: https://golang.org/cl/174457: add new GOOS=illumos, split out of GOOS=solaris +
+ ++ Go programs are now compatible with Android Q. +
+@@ -67,18 +81,64 @@ TODO FreeBSD 12.0 or later requires a kernel with the COMPAT_FREEBSD11 option set (this is the default).
++ AIX on PPC64 now supports cgo and external linking. +
+TODO
+
+ The compiler has a new implementation of escape analysis that is
+ more precise. For most Go code should be an improvement (in other
+ words, more Go variables and expressions allocated on the stack
+ instead of heap). However, this increased precision may also break
+ invalid code that happened to work before (for example, code that
+ violates
+ the unsafe.Pointer
+ safety rules). If you notice any regressions that appear
+ related, the old escape analysis pass can be re-enabled
+ with go
build
-gcflags=all=-newescape=false
.
+ The option to use the old escape analysis will be removed in a
+ future release.
+
+ The compiler no longer emits floating point or complex constants
+ to go_asm.h
files. These have always been emitted in a
+ form that could not be used as numeric constant in assembly code.
+
-TODO +
+ Out of range panic messages now include the index that was out of
+ bounds and the length (or capacity) of the slice. For
+ example, s[3]
on a slice of length 1 will panic with
+ "runtime error: index out of range [3] with length 1".
+ This release improves performance of most uses of defer
+ by 30%.
+
+ The runtime is now more aggressive at returning memory to the + operating system to make it available to co-tenant applications. + Previously, the runtime could retain memory for five or more minutes + following a spike in the heap size. It will now begin returning it + promptly after the heap shrinks. However, on many OSes, including + Linux, the OS itself reclaims memory lazily, so process RSS will not + decrease until the system is under memory pressure. +
- TODO: https://golang.org/cl/174457: add new GOOS=illumos, split out of GOOS=solaris -
- -@@ -175,7 +224,12 @@ TODO
- TODO: https://golang.org/cl/158797: more graceful handling of unsupported types
+ The Data.Type
+ method no longer panics if it encounters an unknown DWARF tag in
+ the type graph. Instead, it represents that component of the
+ type with
+ an UnsupportedType
+ object.
- TODO: https://golang.org/cl/166497: report event scanning error on read event -
- -- TODO: https://golang.org/cl/170127: look for android_get_device_api_level in libc.so -
- -