Lines Matching full:credit
179 // Steal as much credit as we can from the background GC's
180 // scan credit. This is racy and may drop the background
181 // credit below 0 if two mutators steal at the same time. This
182 // will just cause steals to fail until credit is accumulated
184 // do have to handle the negative credit case.
289 // We were unable steal enough credit or perform
656 // credit to gcController.bgScanCredit whenever gcw's local scan work
657 // credit exceeds flushScanCredit.
691 // Flush background scan work credit to the global
695 credit := gcw.scanWork - lastScanFlush
696 xaddint64(&gcController.bgScanCredit, credit)
702 credit := gcw.scanWork - lastScanFlush
703 xaddint64(&gcController.bgScanCredit, credit)
743 // Flush background scan work credit to the global
747 credit := gcw.scanWork - lastScanFlush
748 xaddint64(&gcController.bgScanCredit, credit)
754 credit := gcw.scanWork - lastScanFlush
755 xaddint64(&gcController.bgScanCredit, credit)