[go] runtime: unified the calculate for max objects per span

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Feb 27, 2026, 11:18:57 PM (18 hours ago) Feb 27
to Gerrit Bot, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, David Chase, Go LUCI, Keith Randall, Keith Randall, Tony Tang, Michael Knyszek, Michael Pratt, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
runtime: unified the calculate for max objects per span

the freemark is used for mark the status for one span's slots.
the size can be simplify by directly use the predefined constant
of gc.MaxObjsPerSpan
Change-Id: Ieb174655a829cceeb70b908d83b48c829cc08705
GitHub-Last-Rev: d36aa731754912a697d8ca3d82079a067e64acf8
GitHub-Pull-Request: golang/go#77841
Reviewed-by: Keith Randall <k...@golang.org>
Auto-Submit: Keith Randall <k...@golang.org>
Reviewed-by: Tony Tang <jianfe...@gmail.com>
Reviewed-by: Keith Randall <k...@google.com>
Reviewed-by: David Chase <drc...@google.com>
Files:
  • M src/runtime/heapdump.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Keith Randall, +2 by Keith Randall, +1 by Tony Tang, +1 by David Chase
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Ieb174655a829cceeb70b908d83b48c829cc08705
Gerrit-Change-Number: 749760
Gerrit-PatchSet: 2
Gerrit-Owner: Gerrit Bot <letsus...@gmail.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: Tony Tang <jianfe...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages