• Austin Clements's avatar
    runtime: add pointer size to type structure · 98a9d368
    Austin Clements authored
    This adds a field to the runtime type structure that records the size
    of the prefix of objects of that type containing pointers. Any data
    after this offset is scalar data.
    
    This is necessary for shrinking the type bitmaps to 1 bit and will
    help the garbage collector efficiently estimate the amount of heap
    that needs to be scanned.
    
    Change-Id: I1318d79e6360dca0ac980245016c562e61f52ff5
    Reviewed-on: https://go-review.googlesource.com/9691Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    98a9d368
Name
Last commit
Last update
..
all_test.go Loading commit data...
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_amd64p32.s Loading commit data...
asm_arm.s Loading commit data...
asm_arm64.s Loading commit data...
asm_ppc64x.s Loading commit data...
deepequal.go Loading commit data...
example_test.go Loading commit data...
export_test.go Loading commit data...
makefunc.go Loading commit data...
set_test.go Loading commit data...
tostring_test.go Loading commit data...
type.go Loading commit data...
value.go Loading commit data...