From 60d3bcdec38eafbffe3086d8aea190ff8bcdece7 Mon Sep 17 00:00:00 2001 From: "khr@golang.org" Date: Thu, 8 May 2025 10:00:22 -0700 Subject: runtime: remove ptr/scalar bitmap metric We don't use this mechanism any more, so the metric will always be zero. Since CL 616255. Update #73628 Change-Id: Ic179927a8bc24e6291876c218d88e8848b057c2a Reviewed-on: https://go-review.googlesource.com/c/go/+/671096 Reviewed-by: Keith Randall Reviewed-by: Michael Knyszek Auto-Submit: Keith Randall LUCI-TryBot-Result: Go LUCI --- src/runtime/align_runtime_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'src/runtime/align_runtime_test.go') diff --git a/src/runtime/align_runtime_test.go b/src/runtime/align_runtime_test.go index 6d77e0d3d4..4bcb49db2f 100644 --- a/src/runtime/align_runtime_test.go +++ b/src/runtime/align_runtime_test.go @@ -28,7 +28,6 @@ var AtomicFields = []uintptr{ unsafe.Offsetof(heapStatsDelta{}.released), unsafe.Offsetof(heapStatsDelta{}.inHeap), unsafe.Offsetof(heapStatsDelta{}.inStacks), - unsafe.Offsetof(heapStatsDelta{}.inPtrScalarBits), unsafe.Offsetof(heapStatsDelta{}.inWorkBufs), unsafe.Offsetof(lfnode{}.next), unsafe.Offsetof(mstats{}.last_gc_nanotime), -- cgit v1.3