From 0767ffdf27cc3fad4e88eee523fac04f2e669e82 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Wed, 24 Apr 2024 18:53:45 +0000 Subject: [PATCH] doc: add relnote fragment on stack slot merging Add a blurb to the toolchain section talking about stack slot merging. Updates #62737. Change-Id: I26193a6a381c95ff5d79ce80b77c10c7561d00cc Reviewed-on: https://go-review.googlesource.com/c/go/+/581439 LUCI-TryBot-Result: Go LUCI Reviewed-by: Austin Clements Reviewed-by: Cherry Mui --- doc/next/5-toolchain.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/next/5-toolchain.md b/doc/next/5-toolchain.md index ce763f1b93..7f547f686b 100644 --- a/doc/next/5-toolchain.md +++ b/doc/next/5-toolchain.md @@ -4,6 +4,11 @@ The build time overhead to building with [Profile Guided Optimization](/doc/pgo) Previously, large builds could see 100%+ build time increase from enabling PGO. In Go 1.23, overhead should be in the single digit percentages. + +The compiler in Go 1.23 can now overlap the stack frame slots of local variables +accessed in disjoint regions of a function, which reduces stack usage +for Go applications. + ## Assembler {#assembler} ## Linker {#linker}