We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1efaed commit 4fcb506Copy full SHA for 4fcb506
doc/go1.16.html
@@ -161,6 +161,18 @@ <h2 id="runtime">Runtime</h2>
161
TODO
162
</p>
163
164
+<p><!-- CL 267100 -->
165
+ On Linux, the runtime now defaults to releasing memory to the
166
+ operating system promptly (using <code>MADV_DONTNEED</code>), rather
167
+ than lazily when the operating system is under memory pressure
168
+ (using <code>MADV_FREE</code>). This means process-level memory
169
+ statistics like RSS will more accurately reflect the amount of
170
+ physical memory being used by Go processes. Systems that are
171
+ currently using <code>GODEBUG=madvdontneed=1</code> to improve
172
+ memory monitoring behavior no longer need to set this environment
173
+ variable.
174
+</p>
175
+
176
<h2 id="compiler">Compiler</h2>
177
178
<p>
0 commit comments