From 2f706871b95ceedecb0d0cf62b83e4f0f9a403b7 Mon Sep 17 00:00:00 2001 From: qiulaidongfeng <2645477756@qq.com> Date: Thu, 14 Dec 2023 13:12:45 +0000 Subject: [PATCH] runtime: delete todo of the list field for mspan Change-Id: I10a3308c19da08d2ff0c8077bb74ad888ee04fea GitHub-Last-Rev: 3e95b71384a25e0b29029731b72cf2c7f6a96055 GitHub-Pull-Request: golang/go#64077 Reviewed-on: https://go-review.googlesource.com/c/go/+/541755 Reviewed-by: Michael Pratt TryBot-Result: Gopher Robot Reviewed-by: Michael Knyszek Auto-Submit: Michael Pratt --- src/runtime/mheap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/mheap.go b/src/runtime/mheap.go index 0bbda4aa3b4..00693283467 100644 --- a/src/runtime/mheap.go +++ b/src/runtime/mheap.go @@ -399,7 +399,7 @@ type mspan struct { _ sys.NotInHeap next *mspan // next span in list, or nil if none prev *mspan // previous span in list, or nil if none - list *mSpanList // For debugging. TODO: Remove. + list *mSpanList // For debugging. startAddr uintptr // address of first byte of span aka s.base() npages uintptr // number of pages in span