]> Cypherpunks repositories - gostls13.git/commit
runtime: clean up remaining mark work check
authorAustin Clements <austin@google.com>
Thu, 16 Aug 2018 16:17:32 +0000 (12:17 -0400)
committerAustin Clements <austin@google.com>
Tue, 2 Oct 2018 20:35:32 +0000 (20:35 +0000)
commit143b13ae82d81020dfa6db40818bef5a1f701c3f
tree9982df343bf65b77c75d72b60df6065541135013
parent1678b2c580584fa1ea8de3c14df0d8d77b6f7387
runtime: clean up remaining mark work check

Now that STW GC marking is unified with concurrent marking, there
should never be mark work remaining in mark termination. Hence, we can
make that check unconditional.

Updates #26903. This is a follow-up to unifying STW GC and concurrent GC.

Change-Id: I43a21df5577635ab379c397a7405ada68d331e03
Reviewed-on: https://go-review.googlesource.com/c/134781
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rick Hudson <rlh@golang.org>
src/runtime/mgc.go