mirror of
https://github.com/golang/go
synced 2024-11-26 22:01:27 -07:00
doc: add release notes for sync
Change-Id: I49b09349a632a6b6219c85638d9cb6774c0c210a Reviewed-on: https://go-review.googlesource.com/c/go/+/181721 Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
parent
65f53da8e8
commit
6a4b1f745d
@ -330,11 +330,12 @@ TODO
|
|||||||
<dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
|
<dl id="sync"><dt><a href="/pkg/sync/">sync</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 166960 -->
|
<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>
|
||||||
|
|
||||||
<p><!-- CL 166961 -->
|
<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>
|
</p>
|
||||||
|
|
||||||
</dl><!-- sync -->
|
</dl><!-- sync -->
|
||||||
|
Loading…
Reference in New Issue
Block a user