]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: fix nStackRoots comment about stack roots
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 23 Dec 2020 17:12:44 +0000 (17:12 +0000)
committerMichael Knyszek <mknyszek@google.com>
Wed, 23 Dec 2020 17:30:35 +0000 (17:30 +0000)
commitfb96f07e1a45b9ec41158732a34aee8c2ccc2eaf
tree540df00797bdb2b4eec2f6e0df99f99cbe10290a
parentd1502b3c7270e655d3306d65f5dd61438626a1a9
runtime: fix nStackRoots comment about stack roots

A comment in mgcmark.go indicates that we scan stacks a second time but
we don't, at least not since changing to the hybrid write barrier.

Change-Id: I9376adbb6d8b6dd9dc3cee62e077b5dfb8a3fdde
Reviewed-on: https://go-review.googlesource.com/c/go/+/279797
Trust: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/mgcmark.go