aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/heapdump.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2023-08-07 18:11:17 -0400
committerGopher Robot <gobot@golang.org>2023-08-07 22:27:50 +0000
commit5f674f64e4e3f79adf45d301bcbc16a8a3a82b1d (patch)
treeaeface59785ddb96aaa11261a5016ca632367fb7 /src/runtime/heapdump.go
parent008ab9adb8382a274ba25c005a046b912af94809 (diff)
downloadgo-5f674f64e4e3f79adf45d301bcbc16a8a3a82b1d.tar.xz
Revert "runtime: drop stack-allocated pcvalueCaches"
This reverts CL 515277 Change-Id: Ie10378eed4993cb69f4a9b43a38af32b9d743155 Reviewed-on: https://go-review.googlesource.com/c/go/+/516855 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Austin Clements <austin@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/heapdump.go')
-rw-r--r--src/runtime/heapdump.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/heapdump.go b/src/runtime/heapdump.go
index 430e4bccb5..8ddec8b2d5 100644
--- a/src/runtime/heapdump.go
+++ b/src/runtime/heapdump.go
@@ -259,7 +259,7 @@ func dumpframe(s *stkframe, child *childInfo) {
pcdata := int32(-1) // Use the entry map at function entry
if pc != f.entry() {
pc--
- pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, pc)
+ pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, pc, nil)
}
if pcdata == -1 {
// We do not have a valid pcdata value but there might be a