• Rick Hudson's avatar
    runtime: Remove write barrier on g · 546a54bb
    Rick Hudson authored
    There are calls to stdcall when the GC thinks the world is stopped
    and stdcall write a *g for the CPU profiler. This produces a write
    barrier but the GC is not prepared to deal with write barriers when
    it thinks the world is stopped. Since the g is on allg it does not
    need a write barrier to keep it alive so eliminate the write barrier.
    
    Change-Id: I937633409a66553d7d292d87d7d58caba1fad0b6
    Reviewed-on: https://go-review.googlesource.com/7979Reviewed-by: 's avatarAustin Clements <austin@google.com>
    Run-TryBot: Rick Hudson <rlh@golang.org>
    546a54bb
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...