• Austin Clements's avatar
    runtime: pass gcWork to markroot · 7b229001
    Austin Clements authored
    Currently markroot uses a gcWork on the stack and disposes of it
    immediately after marking one root. This used to be necessary because
    markroot was called from the depths of parfor, but now that we call it
    directly and have ready access to a gcWork at the call site, pass the
    gcWork in, use it directly in markroot, and share it across calls to
    markroot from the same P.
    
    Change-Id: Id7c3b811bfb944153760e01873c07c8d18909be1
    Reviewed-on: https://go-review.googlesource.com/19635Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    Run-TryBot: Austin Clements <austin@google.com>
    7b229001
Name
Last commit
Last update
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...