mirror of
https://github.com/golang/go.git
synced 2026-06-27 03:11:23 +00:00
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-on: https://go-review.googlesource.com/c/go/+/768020 Reviewed-by: Nick Ripley <nick.ripley@datadoghq.com> Reviewed-by: t hepudds <thepudds1460@gmail.com> Auto-Submit: Keith Randall <khr@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
d484fb9ddf
commit
a804e04b7e
1 changed files with 0 additions and 1 deletions
|
|
@ -120,7 +120,6 @@ type memRecord struct {
|
|||
// of the events from that cycle must be done. Specifically:
|
||||
//
|
||||
// Mallocs are accounted to cycle C+2.
|
||||
// Explicit frees are accounted to cycle C+2.
|
||||
// GC frees (done during sweeping) are accounted to cycle C+1.
|
||||
//
|
||||
// After mark termination, we increment the global heap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue