Attention needed from Dmitri Shuralyov
Keith Randall has uploaded the change for review![Open in Gerrit]()
Keith Randall would like Dmitri Shuralyov to review this change.
Commit message
doc: mention stack allocation of slices
Very similar to last release's note.
Change-Id: Ie7afe21d98cee1c9718e53b20e8af8ee18504bb9
Change diff
diff --git a/doc/next/5-toolchain.md b/doc/next/5-toolchain.md
index b589328..523e3f8 100644
--- a/doc/next/5-toolchain.md
+++ b/doc/next/5-toolchain.md
@@ -1,5 +1,14 @@
## Compiler {#compiler}
+<!-- CLs 707755, 722440 -->
+
+The compiler can now allocate the backing store for slices on the stack in more
+situations, which improves performance. If this change is causing trouble, the
+[bisect tool](https://pkg.go.dev/golang.org/x/tools/cmd/bisect) can be used to
+find the allocation causing trouble using the `-compile=variablemake` flag. All
+such new stack allocations can also be turned off using
+`-gcflags=all=-d=variablemakehash=n`.
+
## Assembler {#assembler}
## Linker {#linker}
Change information
Files:
- M doc/next/5-toolchain.md
Change size: XS
Delta: 1 file changed, 9 insertions(+), 0 deletions(-)
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: newchange
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ie7afe21d98cee1c9718e53b20e8af8ee18504bb9
Gerrit-Change-Number: 725921
Gerrit-PatchSet: 1