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:
parent
82e4a6310b
commit
e224787fef
@ -1357,7 +1357,7 @@ func gcMarkWorkAvailable(p *p) bool {
|
|||||||
// gcMark runs the mark (or, for concurrent GC, mark termination)
|
// gcMark runs the mark (or, for concurrent GC, mark termination)
|
||||||
// All gcWork caches must be empty.
|
// All gcWork caches must be empty.
|
||||||
// STW is in effect at this point.
|
// STW is in effect at this point.
|
||||||
func gcMark(start_time int64) {
|
func gcMark(startTime int64) {
|
||||||
if debug.allocfreetrace > 0 {
|
if debug.allocfreetrace > 0 {
|
||||||
tracegc()
|
tracegc()
|
||||||
}
|
}
|
||||||
@ -1365,7 +1365,7 @@ func gcMark(start_time int64) {
|
|||||||
if gcphase != _GCmarktermination {
|
if gcphase != _GCmarktermination {
|
||||||
throw("in gcMark expecting to see gcphase as _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.
|
// Check that there's no marking work remaining.
|
||||||
if work.full != 0 || work.markrootNext < work.markrootJobs {
|
if work.full != 0 || work.markrootNext < work.markrootJobs {
|
||||||
|
Loading…
Reference in New Issue
Block a user