"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/runtime/mgcscavenge.go" between
go1.13.5.src.tar.gz and go1.13.6.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language. Latest stable release (1.13).

mgcscavenge.go  (go1.13.5.src):mgcscavenge.go  (go1.13.6.src)
skipping to change at line 236 skipping to change at line 236
// It's possible that either a timer was never started, or that // It's possible that either a timer was never started, or that
// we're racing with it. // we're racing with it.
// In the case that we're racing with there's the low chance that // In the case that we're racing with there's the low chance that
// we experience a spurious wake-up of the scavenger, but that's // we experience a spurious wake-up of the scavenger, but that's
// totally safe. // totally safe.
stopTimer(scavenge.timer) stopTimer(scavenge.timer)
// Unpark the goroutine and tell it that there may have been a pa cing // Unpark the goroutine and tell it that there may have been a pa cing
// change. // change.
scavenge.parked = false scavenge.parked = false
ready(scavenge.g, 0, true) goready(scavenge.g, 0)
} }
unlock(&scavenge.lock) unlock(&scavenge.lock)
} }
// scavengeSleep attempts to put the scavenger to sleep for ns. // scavengeSleep attempts to put the scavenger to sleep for ns.
// //
// Note that this function should only be called by the scavenger. // Note that this function should only be called by the scavenger.
// //
// The scavenger may be woken up earlier by a pacing change, and it may not go // The scavenger may be woken up earlier by a pacing change, and it may not go
// to sleep at all if there's a pending pacing change. // to sleep at all if there's a pending pacing change.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)