]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.15: add release notes for new linker
authorThan McIntosh <thanm@google.com>
Tue, 2 Jun 2020 17:56:26 +0000 (13:56 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 3 Jun 2020 12:20:34 +0000 (12:20 +0000)
Add a blurb to the release notes describing improvements made to the
Go linker in the most recent development cycle.

Updates #37419.

Change-Id: I3b870f0c00efc0b7b33aab2631d8c4e1c273922d
Reviewed-on: https://go-review.googlesource.com/c/go/+/236159
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.15.html

index d89769ed863a91c251f1908f9de6cc9eded8923d..37fa76c69c870bd91bd45fec5d65a705ba0d6f07 100644 (file)
@@ -209,8 +209,34 @@ TODO
   updated to satisfy the safety rules.
 </p>
 
-<p><!-- CL 231497 -->
-  TODO: <a href="https://golang.org/cl/231497">https://golang.org/cl/231497</a>: merge branch &#39;dev.link&#39; into master
+<h2 id="linker">Linker</h2>
+
+<p>
+  This release includes substantial improvements to the Go linker,
+  which reduce linker resource usage (both time and memory) and
+  improve code robustness/maintainability.
+</p>
+
+<p>
+  For a representative set of large Go programs, linking is 20% faster
+  and requires 30% less memory on average, for <code>ELF</code>-based
+  OSes running on <code>amd64</code> architectures, with more modest
+  improvements for other architecture/OS combinations.
+</p>
+
+<p>
+  The key contributors to better linker performance are a newly
+  redesigned object file format, and a revamping of internal
+  phases to increase concurrency (for example, applying relocations to
+  symbols in parallel). Object files in Go 1.15 are slightly larger
+  than their 1.14 equivalents.
+</p>
+
+<p>
+  These changes are part of a multi-release project
+  to <a href="https://golang.org/s/better-linker">modernize the Go
+  linker</a>, meaning that there will be additional linker
+  improvements expected in future releases. 
 </p>
 
 <h2 id="library">Core library</h2>