1
0
mirror of https://github.com/golang/go synced 2024-11-26 07:47:57 -07:00

runtime: fix formatting of gcMark

Change-Id: I08aed75f3aab0da705544665e532f332adfb075e
Reviewed-on: https://go-review.googlesource.com/c/go/+/308949
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Trust: David Chase <drchase@google.com>
This commit is contained in:
Leonard Wang 2021-04-09 23:56:44 +08:00 committed by Austin Clements
parent 82e4a6310b
commit e224787fef

View File

@ -1357,7 +1357,7 @@ func gcMarkWorkAvailable(p *p) bool {
// gcMark runs the mark (or, for concurrent GC, mark termination)
// All gcWork caches must be empty.
// STW is in effect at this point.
func gcMark(start_time int64) {
func gcMark(startTime int64) {
if debug.allocfreetrace > 0 {
tracegc()
}
@ -1365,7 +1365,7 @@ func gcMark(start_time int64) {
if gcphase != _GCmarktermination {
throw("in gcMark expecting to see gcphase as _GCmarktermination")
}
work.tstart = start_time
work.tstart = startTime
// Check that there's no marking work remaining.
if work.full != 0 || work.markrootNext < work.markrootJobs {