[go] runtime: remove obsolete "explicit frees" comment from heap profiler

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Apr 24, 2026, 12:42:45 PM (20 hours ago) Apr 24
to Felix Geisendörfer, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Carlos Amedee, Keith Randall, t hepudds, Nick Ripley, Austin Clements, Keith Randall, Michael Knyszek, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
runtime: remove obsolete memory profiler comment

The runtime's internal free function was removed in
https://golang.org/cl/116390043, and the corresponding accounting code
in mProf_Free was cleaned up in
https://go-review.googlesource.com/16593. All frees now go through GC
sweeping and are accounted to cycle C+1 via mProf_Free.
Change-Id: I1923bd249fa1d718356de4c51653d7c96a6a6964
Reviewed-by: Nick Ripley <nick....@datadoghq.com>
Reviewed-by: t hepudds <thepud...@gmail.com>
Auto-Submit: Keith Randall <k...@google.com>
Reviewed-by: Carlos Amedee <car...@golang.org>
Reviewed-by: Keith Randall <k...@google.com>
Files:
  • M src/runtime/mprof.go
Change size: XS
Delta: 1 file changed, 0 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
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: I1923bd249fa1d718356de4c51653d7c96a6a6964
Gerrit-Change-Number: 768020
Gerrit-PatchSet: 3
Gerrit-Owner: Felix Geisendörfer <felix.gei...@datadoghq.com>
Gerrit-Reviewer: Austin Clements <aus...@google.com>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Felix Geisendörfer <felix.gei...@datadoghq.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: Nick Ripley <nick....@datadoghq.com>
Gerrit-Reviewer: t hepudds <thepud...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages