diff --git a/doc/go1.18.html b/doc/go1.18.html index 74d0e0c23e..285b44946e 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -200,6 +200,21 @@ proposal. into Win32 functions that block for extended periods of time.
+
+ 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
+ GOGC where necessary.
+
+ The runtime now returns memory to the operating system more efficiently and has + been tuned to work more aggressively as a result. +
+