diff options
author | Tamir Duberstein <tamird@google.com> | 2019-05-13 14:20:53 -0400 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2019-05-13 19:33:29 +0000 |
commit | 9c86eae3844105c2e66ca6064ca70fd287894819 (patch) | |
tree | 936b81e9f5360a788eef716a3391144e938fda3e /src/runtime/mgcmark.go | |
parent | 71be83e8ca660c375592683bf71de8864a8464c5 (diff) | |
download | go-9c86eae3844105c2e66ca6064ca70fd287894819.tar.gz go-9c86eae3844105c2e66ca6064ca70fd287894819.zip |
runtime: resolve latent TODOs
These were added in https://go-review.googlesource.com/1224; according
to austin@google.com these annotations are not valuable - resolving by
removing the TODOs.
Change-Id: Icf3f21bc385cac9673ba29f0154680e970cf91f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/176899
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/mgcmark.go')
-rw-r--r-- | src/runtime/mgcmark.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/mgcmark.go b/src/runtime/mgcmark.go index 91f79c44db..efa007aa97 100644 --- a/src/runtime/mgcmark.go +++ b/src/runtime/mgcmark.go @@ -255,8 +255,6 @@ func markrootBlock(b0, n0 uintptr, ptrmask0 *uint8, gcw *gcWork, shard int) { // // This does not free stacks of dead Gs cached on Ps, but having a few // cached stacks around isn't a problem. -// -//TODO go:nowritebarrier func markrootFreeGStacks() { // Take list of dead Gs with stacks. lock(&sched.gFree.lock) |