]> Cypherpunks repositories - gostls13.git/commit
runtime: fix stale comments about mheap and mspan
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 17 Oct 2018 20:16:45 +0000 (20:16 +0000)
committerMichael Knyszek <mknyszek@google.com>
Mon, 5 Nov 2018 19:30:42 +0000 (19:30 +0000)
commit2ae8bf7054b3320682e547396d9b6b5e51f5ade1
treef99a859ef0b7907af5766e0d87466c803ea29e9b
parente72595ee0f97746be3ce594834a7003d5e804795
runtime: fix stale comments about mheap and mspan

As of 07e738e all spans are allocated out of a treap, and not just
large spans or spans for large objects. Also, now we have a separate
treap for spans that have been scavenged.

Change-Id: I9c2cb7b6798fc536bbd34835da2e888224fd7ed4
Reviewed-on: https://go-review.googlesource.com/c/142958
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mheap.go