• Dmitriy Vyukov's avatar
    runtime: make the GC bitmap a byte array · ff3fa1b3
    Dmitriy Vyukov authored
    Half the code in the garbage collector accesses the bitmap
    as an array of bytes instead of as an array of uintptrs.
    This is tricky to do correctly in a portable fashion,
    it breaks on big-endian systems.
    Make the bitmap a byte array.
    Simplifies markallocated, scanblock and span sweep along the way,
    as we don't need to recalculate bitmap position for each word.
    
    LGTM=khr
    R=golang-codereviews, khr
    CC=golang-codereviews, rlh, rsc
    https://golang.org/cl/125250043
    ff3fa1b3
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
androidtest.bash Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
nacltest.bash Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...