• Austin Clements's avatar
    runtime: flush assist credit on goroutine exit · f10d99f5
    Austin Clements authored
    Currently dead goroutines retain their assist credit. This credit can
    be used if the goroutine gets recycled, but in general this can make
    assist pacing over-aggressive by hiding an amount of credit
    proportional to the number of exited (and not reused) goroutines.
    
    Fix this "hidden credit" by flushing assist credit to the global
    credit pool when a goroutine exits.
    
    Updates #14812.
    
    Change-Id: I65f7f75907ab6395c04aacea2c97aea963b60344
    Reviewed-on: https://go-review.googlesource.com/24703
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    f10d99f5
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...