aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-07-17 23:12:41 -0400
committerAustin Clements <austin@google.com>2016-07-18 14:10:42 +0000
commit2837c395526476e31fb15dbb948ed77389cdc75b (patch)
tree52df679c08d9fe621c3cda8d04799e0a29489631
parenta6dbfc12c640c90e8dc552443d3ece04cbae4a9c (diff)
downloadgo-2837c395526476e31fb15dbb948ed77389cdc75b.tar.gz
go-2837c395526476e31fb15dbb948ed77389cdc75b.zip
doc/go1.7.html: mention specific runtime improvements
Most of the runtime improvements are hard to quantify or summarize, but it's worth mentioning some of the substantial improvements in STW time, and that the scavenger now actually works on ARM64, PPC64, and MIPS. Change-Id: I0e951038516378cc3f95b364716ef1c183f3445a Reviewed-on: https://go-review.googlesource.com/24966 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--doc/go1.7.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/go1.7.html b/doc/go1.7.html
index 77cf579e27..b5f08d012e 100644
--- a/doc/go1.7.html
+++ b/doc/go1.7.html
@@ -375,6 +375,12 @@ and
packages.
</p>
+<p>
+Stop-the-world times should be significantly lower for programs with
+large numbers of idle goroutines, substantial stack size fluctuation,
+or large package-level variables.
+</p>
+
<h2 id="library">Core library</h2>
<h3 id="context">Context</h3>
@@ -471,6 +477,12 @@ common in some environments.
</p>
<p>
+The runtime can now return unused memory to the operating system on
+all architectures. In Go 1.6 and earlier, the runtime could not
+release memory on ARM64, 64-bit PowerPC, or MIPS.
+</p>
+
+<p>
On Windows, Go programs in Go 1.5 and earlier forced
the global Windows timer resolution to 1ms at startup
by calling <code>timeBeginPeriod(1)</code>.