From 5f674f64e4e3f79adf45d301bcbc16a8a3a82b1d Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Mon, 7 Aug 2023 18:11:17 -0400 Subject: 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 Reviewed-by: Matthew Dempsky TryBot-Result: Gopher Robot Auto-Submit: Austin Clements Reviewed-by: Michael Knyszek --- src/runtime/mgcstack.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/runtime/mgcstack.go') diff --git a/src/runtime/mgcstack.go b/src/runtime/mgcstack.go index f4a83f5f59..6b552203ee 100644 --- a/src/runtime/mgcstack.go +++ b/src/runtime/mgcstack.go @@ -166,6 +166,8 @@ func (obj *stackObject) setRecord(r *stackObjectRecord) { // A stackScanState keeps track of the state used during the GC walk // of a goroutine. type stackScanState struct { + cache pcvalueCache + // stack limits stack stack -- cgit v1.3