]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add release notes for sync
authorKatie Hockman <katie@golang.org>
Tue, 11 Jun 2019 19:12:54 +0000 (15:12 -0400)
committerKatie Hockman <katie@golang.org>
Wed, 12 Jun 2019 17:10:31 +0000 (17:10 +0000)
Change-Id: I49b09349a632a6b6219c85638d9cb6774c0c210a
Reviewed-on: https://go-review.googlesource.com/c/go/+/181721
Reviewed-by: Bryan C. Mills <bcmills@google.com>
doc/go1.13.html

index 91d2f28094d3373172b704be987839341933d589..13980ef539019c00b15099963bfc80b35c616707 100644 (file)
@@ -330,11 +330,12 @@ TODO
 <dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
   <dd>
     <p><!-- CL 166960 -->
-      TODO: <a href="https://golang.org/cl/166960">https://golang.org/cl/166960</a>: use lock-free structure for Pool stealing
+      Large <a href="/pkg/sync/#Pool"><code>sync.Pool</code></a> no longer increase stop-the-world pause times.
     </p>
 
     <p><!-- CL 166961 -->
-      TODO: <a href="https://golang.org/cl/166961">https://golang.org/cl/166961</a>: smooth out Pool behavior over GC with a victim cache
+      <code>Pool</code> no longer needs to be completely repopulated after every GC. It now retains some objects across GCs,
+      as opposed to releasing all objects, reducing load spikes for heavy users of <code>Pool</code>.
     </p>
 
 </dl><!-- sync -->