• Russ Cox's avatar
    runtime: use 1-bit pointer bitmaps in type representation · 6d8a147b
    Russ Cox authored
    The type information in reflect.Type and the GC programs is now
    1 bit per word, down from 2 bits.
    
    The in-memory unrolled type bitmap representation are now
    1 bit per word, down from 4 bits.
    
    The conversion from the unrolled (now 1-bit) bitmap to the
    heap bitmap (still 4-bit) is not optimized. A followup CL will
    work on that, after the heap bitmap has been converted to 2-bit.
    
    The typeDead optimization, in which a special value denotes
    that there are no more pointers anywhere in the object, is lost
    in this CL. A followup CL will bring it back in the final form of
    heapBitsSetType.
    
    Change-Id: If61e67950c16a293b0b516a6fd9a1c755b6d5549
    Reviewed-on: https://go-review.googlesource.com/9702Reviewed-by: 's avatarAustin Clements <austin@google.com>
    6d8a147b
Name
Last commit
Last update
..
arm Loading commit data...
arm64 Loading commit data...
ppc64 Loading commit data...
x86 Loading commit data...
ar.go Loading commit data...
data.go Loading commit data...
flag.go Loading commit data...
fmt.go Loading commit data...
funcdata.go Loading commit data...
go.go Loading commit data...
ld.go Loading commit data...
libc.go Loading commit data...
line_test.go Loading commit data...
link.go Loading commit data...
mgc0.go Loading commit data...
obj.go Loading commit data...
objfile.go Loading commit data...
pass.go Loading commit data...
pcln.go Loading commit data...
stack.go Loading commit data...
stringer.go Loading commit data...
sym.go Loading commit data...
textflag.go Loading commit data...
typekind.go Loading commit data...
util.go Loading commit data...