• Austin Clements's avatar
    runtime: eliminate write barriers from persistentalloc · d941b075
    Austin Clements authored
    We're about to start tracking nowritebarrierrec through systemstack
    calls, which will reveal write barriers in persistentalloc prohibited
    by various callers.
    
    The pointers manipulated by persistentalloc are always to off-heap
    memory, so this removes these write barriers statically by introducing
    a new go:notinheap type to represent generic off-heap memory.
    
    Updates #22384.
    For #22460.
    
    Change-Id: Id449d9ebf145b14d55476a833e7f076b0d261d57
    Reviewed-on: https://go-review.googlesource.com/72771
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    d941b075
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...