commit | b5bfb5a3ce7c6d993dab40d9b92c06b873ecd404 | [log] [tgz] |
---|---|---|
author | Nick Ripley <nick.ripley@datadoghq.com> | Sun Nov 19 20:01:57 2023 -0500 |
committer | Gopher Robot <gobot@golang.org> | Mon May 13 16:41:50 2024 +0000 |
tree | af3cd8e4616578770aee5db27b422c8d6d985c18 | |
parent | f43d9c40f382def04442898d7581402759bff36a [diff] |
runtime: refactor fpunwindExpand to use provided buffer fpunwindExpand currently allocates a new slice to hold the expanded call stack. In each place it's used, the resulting slice won't be needed immediately afterward, so the allocation is wasteful. Refactor fpunwindExpand to instead expand the call stack into a provided buffer. Change-Id: I05b26c191a8f76404c21ccbe3bd422325540425b Reviewed-on: https://go-review.googlesource.com/c/go/+/543715 Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Michael Pratt <mpratt@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.