aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/arithmetic.go
diff options
context:
space:
mode:
authorLidong Yan <yldhome2d2@gmail.com>2025-11-21 11:14:46 +0800
committerKeith Randall <khr@golang.org>2025-11-23 09:07:32 -0800
commite88be8a128d167c5ab91eabc998ab364370c702e (patch)
tree15a8f3448352fc27d9a78fcfc445fb7a22492074 /test/codegen/arithmetic.go
parenta318843a2ad17d853b13599a73b2912a13474490 (diff)
downloadgo-e88be8a128d167c5ab91eabc998ab364370c702e.tar.xz
runtime: fix stale comment for mheap/malloc
mheap use pageAlloc to manage free/scav address space instead of using free/scav treap. The comment on mheap states mheap uses treaps. Update the comment to reflect the use of pageAlloc. In the fallback code when sizeSpecializedMalloc is enabled, heapBitsInSpan is false. Update the comment to reflect that. Change-Id: I50d2993c84e2c0312a925ab0a33065cc4cd41c41 Reviewed-on: https://go-review.googlesource.com/c/go/+/722700 Reviewed-by: Lidong Yan <yldhome2d2@gmail.com> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Mark Freeman <markfreeman@google.com>
Diffstat (limited to 'test/codegen/arithmetic.go')
0 files changed, 0 insertions, 0 deletions