• Austin Clements's avatar
    runtime: eliminate gosweepone · f3bb4cbf
    Austin Clements authored
    gosweepone just switches to the system stack and calls sweepone.
    sweepone doesn't need to run on the system stack, so this is pretty
    pointless.
    
    Historically, this was necessary because the sweeper was written in C
    and hence needed to run on the system stack. gosweepone was the
    function that Go code (specifically, bgsweep) used to call into the C
    sweeper implementation. This probably became unnecessary in 2014 with
    CL golang.org/cl/167540043, which ported the sweeper to Go.
    
    This CL changes all callers of gosweepone to call sweepone and
    eliminates gosweepone.
    
    Change-Id: I26b8ef0c7d060b4c0c5dedbb25ecfc936acc7269
    Reviewed-on: https://go-review.googlesource.com/c/138657
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    f3bb4cbf
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...