]> Cypherpunks repositories - gostls13.git/commit
runtime: track whether any buffer has been flushed from gcWork
authorAustin Clements <austin@google.com>
Fri, 3 Aug 2018 19:04:14 +0000 (15:04 -0400)
committerAustin Clements <austin@google.com>
Tue, 2 Oct 2018 20:35:19 +0000 (20:35 +0000)
commita2a2901b252c089e737a1ddf8117f3f6698cb958
treec61b0c0a26ce04a795589f474c64015c3a1d28d1
parentedc2d17086a6d21039f45506459cf1b9f40eb95c
runtime: track whether any buffer has been flushed from gcWork

Nothing currently consumes the flag, but we'll use it in the
distributed termination detection algorithm.

Updates #26903. This is preparation for eliminating mark 2.

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