• Russ Cox's avatar
    runtime: make scan of pointer-in-interface same as scan of pointer · 68aaf2cc
    Russ Cox authored
    The GC program describing a data structure sometimes trusts the
    pointer base type and other times does not (if not, the garbage collector
    must fall back on per-allocation type information stored in the heap).
    Make the scanning of a pointer in an interface do the same.
    This fixes a crash in a particular use of reflect.SliceHeader.
    
    Fixes #8004.
    
    LGTM=khr
    R=golang-codereviews, khr
    CC=0xe2.0x9a.0x9b, golang-codereviews, iant, r
    https://golang.org/cl/100470045
    68aaf2cc
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
yacc Loading commit data...