mirror of
https://github.com/golang/go
synced 2024-11-23 10:10:02 -07:00
doc/go1.18: add information on new pacer.
This is based off Michael's notes. Updates #47694 Change-Id: I6e7944f85b776e8481829a2fafd177a49557c6ca Reviewed-on: https://go-review.googlesource.com/c/go/+/368156 Trust: Jeremy Faller <jeremy@golang.org> Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
This commit is contained in:
parent
bbe1be5c19
commit
d514411625
@ -200,6 +200,21 @@ proposal</a>.
|
||||
into Win32 functions that block for extended periods of time.
|
||||
</p>
|
||||
|
||||
<p><!-- https://github.com/golang/go/issues/44167-->
|
||||
The garbage collector now includes non-heap sources of garbage collector work
|
||||
(e.g., stack scanning) when determining how frequently to run. As a result,
|
||||
garbage collector overhead is more predictable when these sources are
|
||||
significant. For most applications these changes will be negligible; however,
|
||||
some Go applications may now use less memory and spend more time on garbage
|
||||
collection, or vice versa, than before. The intended workaround is to tweak
|
||||
<code>GOGC</code> where necessary.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The runtime now returns memory to the operating system more efficiently and has
|
||||
been tuned to work more aggressively as a result.
|
||||
</p>
|
||||
|
||||
<h2 id="compiler">Compiler</h2>
|
||||
|
||||
<p><!-- https://golang.org/issue/40724 -->
|
||||
|
Loading…
Reference in New Issue
Block a user